Git gitconfig 配置

Posted freshier

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Git gitconfig 配置相关的知识,希望对你有一定的参考价值。

difftool:

[diff]
    tool = bc4
    algorithm = histogram
[difftool]
    prompt = false
[difftool "bc4"]
    cmd = \"D:/Program Files/beyond compare/BComp.exe\" \"$LOCAL\" \"$REMOTE\"

mergetool: (Git中未生效, GitHub destop中生效)

[merge]
    tool = bc4
[mergetool]
    prompt = false
    keepBackup = false
[mergetool "bc4"]
    cmd = \"D:/Program Files/beyond compare/BComp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
    trustExitCode = true

editor:

[core]
    editor = \"D:/Program Files/Sublime Text 3/sublime_text.exe\" -w

 

以上是关于Git gitconfig 配置的主要内容,如果未能解决你的问题,请参考以下文章

Git学习总结

Git学习总结

Git学习总结

Git学习总结

Git学习总结

Git常用命令