Skip to content

Instantly share code, notes, and snippets.

@hqmatics
Created June 22, 2016 06:38
Show Gist options
  • Save hqmatics/cc84c53face97498034776366701a5f0 to your computer and use it in GitHub Desktop.
Save hqmatics/cc84c53face97498034776366701a5f0 to your computer and use it in GitHub Desktop.
Git list branches with date
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