Skip to content

Instantly share code, notes, and snippets.

@danielcompton
Created October 8, 2013 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielcompton/6882330 to your computer and use it in GitHub Desktop.
Save danielcompton/6882330 to your computer and use it in GitHub Desktop.
Get diff stats for a commit, don't use a pager and send to a text file.
git --no-pager diff --stat HEAD b5f7df2 > diffstat.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment