Last active
February 26, 2019 10:11
-
-
Save nirgeier/5f7d099a86b0114bc4d680d1e3761c9e to your computer and use it in GitHub Desktop.
Gti scripts
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
# Get last commit timestap of all branches in the remote | |
git fetch --all && 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