Git全局配置
程序员文章站
2022-07-14 12:47:20
...
git config --global --edit
[user]
email = <your name>@openjawtech.com
name = <your name>
[commit]
template = C:\\Users\\<your name>\\.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
上一篇: Oracle SQL 语句收集
下一篇: Docker命令收集