Skip to content

Instantly share code, notes, and snippets.

@y2k-shubham
Last active August 8, 2020 03:39
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 y2k-shubham/6774e2e0300b48514162af0f330d2b5a to your computer and use it in GitHub Desktop.
Save y2k-shubham/6774e2e0300b48514162af0f330d2b5a to your computer and use it in GitHub Desktop.
git show all (remote) branches of particular remote
# reference: https://stackoverflow.com/a/30076212/3679900
git for-each-ref 'refs/remotes/my-origin' --sort=-committerdate refs/heads --format='%(refname:short)%09%(committerdate:relative)%09%(authorname)%09%(subject)%09'|column -ts'|'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment