3 ms·
if the commit name is more readily at hand, just name the commit "fixup! whatever". --fixup just does this for you since references are shorter and easier to ty
by juped 5y ago
if the commit name is more readily at hand, just name the commit "fixup! whatever". --fixup just does this for you since references are shorter and easier to type (it doesn't have to be a hash, it can be --fixup HEAD~2 or something).
- urxvtcd 5y agoYou can also use part of commit message to find that commit, so if you want to fixup "Refactor foo", you can run git commit --fixup :/foo
- Hackbraten 5y agoNice!