Created
October 30, 2020 10:09
-
-
Save InBrewJ/6f64b4157eb3eb24524b3df8b5e2af7e to your computer and use it in GitHub Desktop.
Rebasing from master - make your feature branch clean (All credit to @joeyciechanowicz)
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
git co -b feature-name | |
# ... do some stuff | |
git commit -am "message" | |
# .. go away for a while | |
git fetch origin/master | |
git rebase origin master | |
# ... do some more work | |
git add . | |
git commit --amend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment