Created
May 19, 2017 09:01
-
-
Save vgaidarji/bfff58385d3114d7e8b291a1a923fece to your computer and use it in GitHub Desktop.
Script which lists remote branches by age and includes some related information to identify last author and any branch names.
This file contains 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
#!/bin/sh | |
exec git branch -r | cut -d' ' -f3 | xargs git show --pretty='%Cgreen%ai %Creset%h %an %d' -s | sed '/^$/d' | sort | uniq |
Author
vgaidarji
commented
May 19, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment