Created
June 10, 2016 21:46
-
-
Save thepaul/984fbe7335533652b811a4d928029c99 to your computer and use it in GitHub Desktop.
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 --format '%(refname) %(authoremail) %(committerdate:raw)' refs/remotes/origin/ \ | |
| sort -k2,3 \ | |
| awk '$3 < (systime()-(86400*30)) { | |
gsub(/refs\/remotes\//, "", $1); | |
printf "%-30s %-26s %s\n", $1, $2, strftime("%Y-%m-%d %H:%M", $3) | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment