本文介绍了使用BeyondCompare查看GIT中文件之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我提交我的更改之前,我想在GIT中使用BeyondCompare看到差异。如何配置BeyondCompare以查看我的文件中的差异。
我看了说明如何在git中将BeyondComapre设置为diff工具
git config --global diff.tool bc3
git config --global difftool.bc3.pathc:/ program files / beyond compare 3 / bcomp.exe
要使用Beyond Compare启动diff,请使用命令 git difftool foofile.txt
。
Before I commit my changes, I want to see the difference using BeyondCompare in GIT. How can I configure BeyondCompare to see difference in my files.
I looked at this link but it did not help.
BeyondCompare is installed at this location in my system: C:\program files\Beyond Compare\BCompare.exe
I ran following two commands:
git config --global merge.tool bc
git config --global mergetool.bc.path "C:\program files\Beyond Compare\BCompare.exe"
I am using GIT on Windows 7.
Thanks !!
解决方案
This link tells the way to set up BeyondComapre as the diff tool in git
git config --global diff.tool bc3
git config --global difftool.bc3.path "c:/program files/beyond compare 3/bcomp.exe"
To launch a diff using Beyond Compare, use the command "git difftool foofile.txt
".
这篇关于使用BeyondCompare查看GIT中文件之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!