Created
February 26, 2015 21:34
-
-
Save tobym/8f89bc6caf1b73e0037b to your computer and use it in GitHub Desktop.
Run `git freshness` to see remote branches sorted by their last commit date
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
#!/bin/sh | |
for branch in `git branch -r | grep -v HEAD`;do echo $(git show --pretty=format:'%ci|%an|%cr|' $branch | head -n 1)$branch; done | sort | column -t -s '|' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment