HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by micampe | Hacker News Reader
Parent
Full thread
micampe
·
You can do that with autosquash
https://coderwall.com/p/hh-4ea
View on HN
lmm
·
Is there an equivalent with a looser match? Half the time I don't remember what my last commit message was.
micampe
·
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
Reply on news.ycombinator.com