Hacker News new | ask | show | jobs
by silentbicycle 6359 days ago
Just keep in mind that it hardcodes the operation to the last ten generations of commits, which is not necessarily what you want. See "SPECIFYING REVISIONS" in the man page for git-rev-parse (http://www.kernel.org/pub/software/scm/git/docs/v1.6.1/git-r...) for all the different ways you can format the HEAD~10 part.

Then again, I have an alias "git cia" for "commit -a"... Just remember where to look it up if you need something more elaborate.