Skip to content

Instantly share code, notes, and snippets.

@miku
Created November 26, 2014 14: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 miku/90c3da10e0d86c05f222 to your computer and use it in GitHub Desktop.
Save miku/90c3da10e0d86c05f222 to your computer and use it in GitHub Desktop.
Git history debunking

Show all files touched by a user:

$ git log --no-merges --stat --author="pattern" --name-only --pretty=format:"" | sort -u

Show all files with their status modified, added or deleted by user:

$ git log --no-merges --stat --author="pattern" --name-status --pretty=format:""|grep -v '^$'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment