PR Splitting Flow
Split a big PR / branch in multiple smaller chunks.
Get the common ancestor
`sh BASE=$(git merge-base origin/develop HEAD) `Get a patch with all changes
`sh git format-patch --stdout $BASE..HEAD > my-feature.patch `Create a new empty branch based off the BASE
`sh gco -b my-feature-a $BASE `Apply the patch, leaving working tree uncommitted
`sh git apply --index my-feature.patch git reset `Stage whatever you want with your IDE or interactively add
`sh git add -p `Commit
`sh git commit -m "Topic A: ..." ``