Git list branchs ordered by most recent commit
Command:
bash
git branch -av --sort=-committerdate
Alias:
bash
git config --global alias.recentbranch 'branch -av --sort=-committerdate'
See:
Delete remote deleted branches
sh
# git remote prune origin --dry-run
git remote prune origin# or
git fetch --prune