2 ms·
You can do that with autosquash https://coderwall.com/p/hh-4ea https://coderwall.com/p/hh-4ea
by micampe 12y ago
You can do that with autosquash https://coderwall.com/p/hh-4ea https://coderwall.com/p/hh-4ea
- lmm 12y agoIs there an equivalent with a looser match? Half the time I don't remember what my last commit message was.
- micampe 12y agoNo, but this explains a nice trick to use it without remembering the commit message http://technosorcery.net/blog/2012/08/05/updated-git-rebase-interactive-autosquash-commit-preparation/ http://technosorcery.net/blog/2012/08/05/updated-git-rebase-... With that you can do: git fixup HEAD~2