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]按日期列出所有分支信息
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
Comments