Skip to content

Instantly share code, notes, and snippets.

@zenozeng
Last active December 29, 2015 21:19
Show Gist options
  • Save zenozeng/7729848 to your computer and use it in GitHub Desktop.
Save zenozeng/7729848 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Zeno Zeng
email = zenoes@qq.com
[color]
#开启着色功能
status = auto
diff = auto
branch = auto
interactive = auto
[alias]
#别名
pu = push
st = status
ci = "commit -m"
br = branch
co = checkout
cia = "commit -am"
df = diff
dt = difftool
mg = merge
mt = mergetool
ll = "log --oneline"
[push]
default = current
[credential]
helper = cache --timeout=7200
[gui]
encoding = utf-8
[i18n]
commitencoding = utf-8
logoutputencoding = utf-8
[core]
# 保证在 git status 时文件名不乱码
quotepath = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment