Skip to content

Instantly share code, notes, and snippets.

@ABHISHEK-KEDAR-21
Last active June 30, 2020 05:03
Show Gist options
  • Save ABHISHEK-KEDAR-21/a590c7a5a7684c88ea61cb0b3a0e6378 to your computer and use it in GitHub Desktop.
Save ABHISHEK-KEDAR-21/a590c7a5a7684c88ea61cb0b3a0e6378 to your computer and use it in GitHub Desktop.
git all brances with owner
git for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' --sort=authorname
Customized:
git for-each-ref --format='%(color:cyan)%(authordate:format:%m/%d/%Y %I:%M %p) %(align:25,left)%(color:yellow)%(authorname)%(end) %(color:reset)%(refname:strip=3)' --sort=authorname refs/remotes
By Author Email: (Which makes more sense)
git for-each-ref --format='%(color:cyan)%(authordate:format:%m/%d/%Y %I:%M %p) %(align:25,left)%(color:yellow)%(authoremail)%(end) %(color:reset)%(refname:strip=3)' --sort=authoremail refs/remotes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment