[core]
editor = vim
excludesfile = ~/system-config/.git-exclude
[color]
ui = auto
[user]
name = wangqianchuang
email = wangqianchuang@smartisan.com
[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 = wangqianchuang@smartisan.com
[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
本文详细介绍了Git的配置项,包括编辑器设置、颜色方案、用户信息、别名定义等,为用户提供了一个全面了解如何个性化配置Git的机会。

1万+

被折叠的 条评论
为什么被折叠?



