[GIT].gitconfig配置

[core]
editor = vim
excludesfile = ~/system-config/.git-exclude

[color]
ui = auto

[user]
name = wangqianchuang
email = [email protected]

[alias]
co=checkout
cio=commit
ci=commit -a -s
br=branch
st=status
cp=cherry-pick
cr=cherry
rb=rebase
fp=format-patch
hist=log –pretty=format:\”%Cred%h %Cblue%ad %Cred| %Creset%s%d %Cgreen[%an]\” –graph –date=short
flog=log –pretty=fuller –graph
dc=diff –cached
[DIFF]
tool = diffuse

[am]
keepcr = true

[log]
date = local
[push]
default = simple
sigh1988@ubuntu:~/icesky/frameworks/base$ cat ~/.gitconfig
[core]
editor = vim
excludesfile = ~/system-config/.git-exclude

[color]
ui = auto

[user]
name = wangqianchuang
email = [email protected]

[alias]
co=checkout
cio=commit
ci=commit -a -s
br=branch
st=status
cp=cherry-pick
cr=cherry
rb=rebase
fp=format-patch
hist=log –pretty=format:\”%Cred%h %Cblue%ad %Cred| %Creset%s%d %Cgreen[%an]\” –graph –date=short
flog=log –pretty=fuller –graph
dc=diff –cached
[DIFF]
tool = diffuse

[am]
keepcr = true

[log]
date = local
[push]
default = simple

猜你喜欢

转载自blog.csdn.net/sigh1988/article/details/50129373
今日推荐