Git全局配置

阅读更多
git config --global --edit


[user]
    email = @openjawtech.com
    name =
[commit]
    template = C:\\Users\\\\.gitmessage
[push]
    default = simple
[diff]
    tool = bc2
[difftool "bc2"]
    cmd = \"C:/Program Files (x86)/Beyond Compare 2/BC2.exe\" \"$LOCAL\" \"$REMOTE\"
[difftool]
    prompt = false
[merge]
    tool = kdiff3
    renameLimit = 999999
[mergetool "kdiff3"]
    cmd = \"C:/Program Files/KDiff3/kdiff3.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
    trustExitCode = true
[core]
    editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -nosession -noPlugin
    pager = cat
    autocrlf = true
[gui]
    encoding = utf-8

你可能感兴趣的:(git)