Last active
July 9, 2018 22:38
-
-
Save jonathanhle/20f616428d367fa3093637bc6cd9b945 to your computer and use it in GitHub Desktop.
git pull --rebase origin master
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/questions/7929369/how-to-rebase-local-branch-with-remote-master | |
https://www.digitalocean.com/community/tutorials/how-to-rebase-and-update-a-pull-request | |
1) make sure local "master" is up-to-date | |
2) check out the branch you want to rebase ontop of "master" | |
3) git pull --rebase origin master | |
4) doublecheck to make sure you are on your local branch | |
5) do a force push | |
git push -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment