pmalek
11/13/2018 - 11:29 AM

show stale git branches

for C in $(git ls-remote --heads | awk '{ print $2 }' ); do git --no-pager show -s --format="%ci $C" "origin/${C##*/}" 2>/dev/null; done | sort -h