Created
October 22, 2019 10:07
-
-
Save banjin/8d8bc4cbcc5a24c6fdcd71b0903dce40 to your computer and use it in GitHub Desktop.
默认gitconfig配置
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 [user] | |
2 email = '' | |
3 name = '' | |
4 emal = '' | |
5 [core] | |
6 excludesfile = ~/.gitignore_global | |
7 [difftool "sourcetree"] | |
8 cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
9 path = | |
10 [mergetool "sourcetree"] | |
11 cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" | |
12 trustExitCode = true | |
13 [commit] | |
14 template = ~/.stCommitMsg | |
15 [http] | |
16 # proxy = '' | |
17 postBuffer = 524288000 | |
18 [https] | |
19 # proxy = '' | |
20 [filter "lfs"] | |
21 clean = git-lfs clean -- %f | |
22 smudge = git-lfs smudge -- %f | |
23 required = true | |
24 process = git-lfs filter-process | |
25 [commit] | |
26 template = ~/.gitmessage | |
27 [alias] | |
28 ci = commit | |
29 br = branch | |
30 lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
31 [color] | |
32 ui = true | |
33 [credential] | |
34 helper = osxkeychain | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment