Last active
December 18, 2015 22:09
-
-
Save terraboops/5852376 to your computer and use it in GitHub Desktop.
List all branches and date of latest commit for a repo. Great for coordinating restoration of distributed backups after git remote data loss.
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 for-each-ref --shell --format='echo ${PWD##*/} - %(refname); git show --format="%ci %cr" %(refname) | head -n 1' refs/heads/ | bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment