Skip to content

Maintain Line History

Mathieu Hofman edited this page Jan 16, 2024 · 2 revisions

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

Clone this wiki locally