Last active
March 15, 2020 11:10
-
-
Save JamieMason/7357169 to your computer and use it in GitHub Desktop.
List all remote branches, most recent first
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
for branch in `git branch -r | grep -v HEAD`; do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With author name
Example output.