Created
August 2, 2022 13:47
-
-
Save tyhenry/aa1f71f4dcf0f3e42ce5b707367a9023 to your computer and use it in GitHub Desktop.
git refs command - list all refs (local / remote branches with last commit info)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.refs "for-each-ref refs/ --sort=committerdate --format='%(color:red)%(committerdate:short) %(color:yellow)%(objectname:short) %(align:25,left)%(color:cyan)%(refname:short)%(end) %(color:magenta)%(subject) %(color:green)%(authorname)'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment