Skip to content

Instantly share code, notes, and snippets.

@jeffreyroberts
Created October 30, 2013 18:02
Show Gist options
  • Save jeffreyroberts/7237197 to your computer and use it in GitHub Desktop.
Save jeffreyroberts/7237197 to your computer and use it in GitHub Desktop.
list files modified from a commit
#!/bin/bash
# http://stackoverflow.com/questions/424071/list-all-the-files-for-a-commit-in-git
git diff-tree --no-commit-id --name-only -r $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment