Created
August 4, 2018 14:32
-
-
Save FFY00/f7e395898ac0c6c5a69030209d1e94fe to your computer and use it in GitHub Desktop.
Fixup git commit (typo)
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 add ... # Stage a fix | |
| git commit --fixup=a0b1c2d3 # Perform the commit to fix broken a0b1c2d3 | |
| git rebase -i --autosquash a0b1c2d3~1 # Now merge fixup commit into broken commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment