Maintain Line History - Agoric/agoric-sdk GitHub Wiki

part of Coding Style

When moving code, try to maintain the git history of those lines.

If you're moving an entire file, git mv will suffice.

If you're moving segments of one file to another, you'll need to use the octopus merge strategy:

However please note that you will need to use the automerge:no-update and bypass:linear-history labels to merge such a PR.


category: Coding Style