Skip to content

Instantly share code, notes, and snippets.

@longrackslabs
Last active August 4, 2017 10:28
Show Gist options
  • Save longrackslabs/6016a01296b145927b6e34fcbd639c0d to your computer and use it in GitHub Desktop.
Save longrackslabs/6016a01296b145927b6e34fcbd639c0d to your computer and use it in GitHub Desktop.
rebase
1) `git checkout master`
2) `git pull origin master`
3) `git checkout <your branch>`
4) `git rebase master`
5) edit the file that conflicts, make it look right, remove all ==== and <<<<< and >>>>> that the conflict tool inserts.
6) `git add <file>`
7) `git rebase --continue`
8) repeat 5-7 until complete
9) `git push origin <your branch> --force`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment