git别名设置

原文:https://www.cnblogs.com/dyh-air/p/7709684.html

 
把lg配置成:

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"

效果:
image

posted @ 2023-04-27 01:05  来个煎饼  阅读(19)  评论(0编辑  收藏  举报