janie.page

Git

Conventions:

Scenario: you want working to be identical to `other-branch.

git fetch --all
git checkout working
git reset --hard origin/other-branch
git push -f

Scenario: your current working branch looks like you want, but needs a clean history branching off of main.

git rebase --strategy recursive -X theirs