Order Git branches by commit time Feb 6, 2014 git for-each-ref --sort=-committerdate refs/heads/<BRANCHES_PATTERN> 不要傻傻的再寫腳本惹!