Last active
April 2, 2019 11:13
-
-
Save veggiemonk/ef174cbeb7cc31ba481bdcfcd9f6e91f to your computer and use it in GitHub Desktop.
git fixup autosquash workflow
This file contains 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
# source https://stackoverflow.com/questions/3103589/how-can-i-easily-fixup-a-past-commit?noredirect=1&lq=1 | |
git add . | |
git commit --fixup HEAD | |
git rebase -i --autosquash HEAD~2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment