Skip to content

Instantly share code, notes, and snippets.

@AlastairTaft
Created March 13, 2018 01:54
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 AlastairTaft/d14fe7fb972a02665203c3b2ac666289 to your computer and use it in GitHub Desktop.
Save AlastairTaft/d14fe7fb972a02665203c3b2ac666289 to your computer and use it in GitHub Desktop.
List branches with info
git for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment