Skip to content

Instantly share code, notes, and snippets.

@sveggiani
Last active September 7, 2016 03:10
Show Gist options
  • Save sveggiani/4f768bb6f468851cf993 to your computer and use it in GitHub Desktop.
Save sveggiani/4f768bb6f468851cf993 to your computer and use it in GitHub Desktop.
list all files in a commit #git #code-fragments
git diff-tree --no-commit-id --name-only -r [commit hash]
#or
git show --pretty="format:" --name-only [commit hash]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment