Re:Y U NO commit??
by micampe on Monday October 20, 2014 @10:47AM
(#8482359)
You can do that with autosquash https://coderwall.com/p/hh-4ea
[ Parent
| on HN ]
Is there an equivalent with a looser match? Half the time I don't remember what my last commit message was.
No, but this explains a nice trick to use it without remembering the commit message http://technosorcery.net/blog/2012/08/05/updated-git-rebase-...
With that you can do:
git fixup HEAD~2