3 ms·
For quick changes to the most recent commit, a handy alias to put in your ~/.gitconfig is: fixup = commit --amend -C HEAD That way you can stage whatever yo
by lentil 12y ago
For quick changes to the most recent commit, a handy alias to put in your ~/.gitconfig is:
fixup = commit --amend -C HEAD
That way you can stage whatever you forgot, and then do `git fixup` to update the latest commit with it. Saves a little bit of typing :)
I do love `rebase -i` for anything more complicated though.