Skip to content

Instantly share code, notes, and snippets.

@selfboot
Last active March 9, 2017 03:52
Show Gist options
  • Select an option

  • Save selfboot/e01b84a87f7747e14a56d66eeaafcbe9 to your computer and use it in GitHub Desktop.

Select an option

Save selfboot/e01b84a87f7747e14a56d66eeaafcbe9 to your computer and use it in GitHub Desktop.
git 配置文件
[user]
name = xuelangZF
email = xuezaigds@gmail.com
[core]
excludesfile = /Users/feizhao/.gitignore_global
editor = vim
quotepath = false
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[credential]
helper = osxkeychain
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
@selfboot

selfboot commented Mar 9, 2017

Copy link
Copy Markdown
Author

quotepath = false # git status 正常显示中文

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment