[git]按日期列出所有分支信息

for k in `git branch|perl -pe s/^..//`;do echo -e "\e[31m"$k"\e[0m" `git log -1 --pretty=format:'- %s %Cgreen(%ci %cr) %C(bold blue)<%an>%Creset' "$k"|head -n 2`\\t;done | sort

git-show-branches-by-date

参考

有任何意见欢迎在下方留言或者加我微信交流


Comments

comments powered by Disqus