git查看commit的命令是
git log
输入之后的效果如下:

git config --global alias.gl "log --graph --all --relative-date --date=short --abbrev-commit --format=\"%x09 %h %Cgreen%cd%Creset [%Cblue%cn%Creset] %C(auto)%d%Creset %s\""
输入下面的代码,查看修改后的效果.
git gl

原链接 http://newstrong.github.io/2017/04/07/git-color-log/
网友评论