Skip to content

Instantly share code, notes, and snippets.

@richy486
Last active April 29, 2016 20:25
Show Gist options
  • Save richy486/c190d1c65389bc29e19a017809ef101e to your computer and use it in GitHub Desktop.
Save richy486/c190d1c65389bc29e19a017809ef101e to your computer and use it in GitHub Desktop.
$ git rebase -i master
# if conflict
# see which files are conflicted
$ git status
# fix it and do:
$ git commit -a
# then if it's all good
$ git rebase --continue
# When it's done do:
$ git push --force
# if all goes to hell
$ git rebase --abort
--------
git checkout master
git pull origin master
git checkout brancher/test
git rebase master
git push origin brancher/test --force
git checkout master
git merge brancher/test
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment