Skip to content

Instantly share code, notes, and snippets.

@simon-engledew
Created October 30, 2020 21:26
Show Gist options
  • Save simon-engledew/ee05c24fd294756adfda9faa7387ce90 to your computer and use it in GitHub Desktop.
Save simon-engledew/ee05c24fd294756adfda9faa7387ce90 to your computer and use it in GitHub Desktop.
Git wut alias, recent branches last
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