Skip to content

Instantly share code, notes, and snippets.

@amitchhajer
Last active January 2, 2016 09:18
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 amitchhajer/8281749 to your computer and use it in GitHub Desktop.
Save amitchhajer/8281749 to your computer and use it in GitHub Desktop.
Get all the branches in git for specific user
git for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' | sort -k5n -k2M -k3n -k4n | grep 'user'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment