Skip to content

Instantly share code, notes, and snippets.

@IhsanMujdeci
Last active July 8, 2021 00:39
Show Gist options
  • Save IhsanMujdeci/ad3f33eb9417108efec9ea69dd06760b to your computer and use it in GitHub Desktop.
Save IhsanMujdeci/ad3f33eb9417108efec9ea69dd06760b to your computer and use it in GitHub Desktop.
# Will print out 10 latest worked on git branches with (author, lasted worked, name) with a star on your active branch
git for-each-ref --count=10 --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