Skip to content

Instantly share code, notes, and snippets.

@toluolubajo
Created March 13, 2015 11:29
Show Gist options
  • Select an option

  • Save toluolubajo/44dbbbf8e61fefb98140 to your computer and use it in GitHub Desktop.

Select an option

Save toluolubajo/44dbbbf8e61fefb98140 to your computer and use it in GitHub Desktop.
Get the list of all changed files between two git commits
git log --pretty="%h" 63e2e9..2acf29d | awk '{ for(i=1; i <= NF; i++) {print $i } }' | xargs -n 1 git diff-tree --no-commit-id --name-only -r | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment