Skip to content

Instantly share code, notes, and snippets.

@AeonFr
Created September 30, 2019 08:20
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 AeonFr/fe19033d18f5779ead810fdffdbb01d6 to your computer and use it in GitHub Desktop.
Save AeonFr/fe19033d18f5779ead810fdffdbb01d6 to your computer and use it in GitHub Desktop.
Git diff: creates a list of modified files from one commit to another, and saves it to a file (diff.log)
REM Usage: ./git-diff {commit_id_or_tag_name_or_branch_name}
git --no-pager diff --compact-summary --stat=255 --diff-algorithm=minimal --name-status %1 HEAD >> diff.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment