Skip to content

Instantly share code, notes, and snippets.

@digoreis
Created August 8, 2017 13:21
Show Gist options
  • Save digoreis/c7b4e91f0c0102054a760be3ea87cbaa to your computer and use it in GitHub Desktop.
Save digoreis/c7b4e91f0c0102054a760be3ea87cbaa to your computer and use it in GitHub Desktop.
Command to list all last commit in all local branches
git for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:red)%(objectname:short)%(color:reset);%(color:yellow)%(refname:short)%(color:reset);(%(color:green)%(committerdate:relative) - %(committerdate:local)%(color:reset));%(authorname);%(contents:subject)' | column -t -s ';'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment