配置
vim ~/.gitconfig
[user]
name = user.name
email = xxx@xxx.xx
[color]
ui = true
[core]
quotepath = false
[alias]
st = status
co = checkout
ci = commit
br = branch
pl = pull
ps = push
ca = commit -a
lg = log --color --graph --pretty=format:'%C(bold yellow)%h%Creset%C(bold yellow)(%ci)%C(bold blue)<%an>%Creset-%C(bold yellow)%d%Creset%s' --abbrev-commit
网友评论