windows添加如下命令,让入了全局环境里
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
然后git lg 可以查看
windows添加如下命令,让入了全局环境里
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
然后git lg 可以查看
转载于:https://www.cnblogs.com/spectrelb/p/7264083.html