设置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"
使用方法
git lg
显示git log的变化的行数
git log
git lg -p
← git 删除 .DS_Store git 切换远程分支 →