Skip to content

Instantly share code, notes, and snippets.

@luciopaiva
Created October 10, 2018 16:14
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 luciopaiva/d8ec89e81e5806df9196cde9345f6a66 to your computer and use it in GitHub Desktop.
Save luciopaiva/d8ec89e81e5806df9196cde9345f6a66 to your computer and use it in GitHub Desktop.
Inspecting changes between commits in git

List files touched:

git diff --stat commit-1 commit-2

List change counts:

git diff --shortstat commit-1 commit-2 | cat

List authors between two commits:

git shortlog -s -n -e commit-1..commit-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment