bgc*_*ode 13 git diff notepad++
有没有一种简单的方法来设置Notepad ++的Compare插件作为Windows上Git的diff工具?我不确定它是否可以从命令行调用,所以可能没有.
小智 6
据我所知,Notepad ++不允许为其插件提供自定义命令行选项,因此这样做有点棘手.您需要为其创建包装脚本或直接调用可执行文件.在我的拙见中,鉴于diff工具有一些非常好的选择,不值得.
在任何情况下,git difftool允许您指定您想要git用于diff的确切内容.您将把它添加到您的.gitconfig文件中:
[diff]
tool = araxis // enter your tool of choice here, Araxis is just an example
Run Code Online (Sandbox Code Playgroud)
如果您想了解更多相关信息,请点击手册页链接:http://www.kernel.org/pub/software/scm/git/docs/git-difftool.html