News for hackers. Stuff that matters.
Re:Y U NO commit?? by lmm on Tuesday October 21, 2014 @08:55AM (#8487036)
Is there an equivalent with a looser match? Half the time I don't remember what my last commit message was.
Re:Y U NO commit?? by micampe on Tuesday October 21, 2014 @01:35PM (#8488525)
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