git学习系列笔记4-工程化
2018-01-18 本文已影响0人
scott_yu779
配置
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