Skip to content

Instantly share code, notes, and snippets.

@danshultz
Created January 26, 2012 16:44
Show Gist options
  • Save danshultz/1683709 to your computer and use it in GitHub Desktop.
Save danshultz/1683709 to your computer and use it in GitHub Desktop.
Find number of commits after a commit
git log |egrep "^commit "|sed -n "1,/f3ec962800287e8078f56b77860d4e96be56ec71/ p" | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment