git使用beyond compare
2015-08-27 16:31
239 查看
对于我这种 git 命令行小白来说, git 自带的对比工具各种水土不服,想念以前的 svn 小乌龟 + beyondCompare 的日子。。。纠结完 gitHub client 未果之后,终于研究到。。 原来 git 的对比也可以调用第三方工具的, well done!
下面来科普下 如果 在 git 设置 第三方对比工具。
其中 path 为你 beyondCompare 的安装目录;
ok 搞好了, 让我们试试效果
打开你的git项目 目录输入
你会看到
输入回车之后, ok beyondCompare 启动了~
(tips 如果不能调用 可以在 终端输入任意字母 如 m,就可以调用成功了)
下面来科普下 如果 在 git 设置 第三方对比工具。
配置 git
打开 .gitconfig 配置文件 (windows 在 C:\Users\Administrator [Administrator 为你当前用户名], mac 在 ~/),加入以下内容[diff] tool = bc3 [difftool "bc3"] path = D:/Program Files (x86)/Beyond Compare 3/BCompare.exe [merge] tool = bc3 [mergetool "bc3"] path = D:/Program Files (x86)/Beyond Compare 3/BCompare.exe
其中 path 为你 beyondCompare 的安装目录;
ok 搞好了, 让我们试试效果
打开你的git项目 目录输入
git difftool git difftool -t bc3
你会看到
输入回车之后, ok beyondCompare 启动了~
(tips 如果不能调用 可以在 终端输入任意字母 如 m,就可以调用成功了)
相关文章推荐
- HTML5桌面通知:notification api
- leetcode--LinkedListCycleII
- C# 等待窗体 利用timer设置窗体是否关闭
- 1282 回文数猜想【简单模拟】
- 解决方案:ubuntu14.04安装后无法引导win7;Realtek-RTL8723BE无线网卡驱动的安装
- 1095. Cars on Campus (30)
- GT2440使用串口+tftp安装linux系统
- 利用redis实现tomcat session共享
- Time Intro - Time and NTP
- 录制脚本中包含中文,出现乱码怎么办?
- 【数据结构学习】-堆与堆排序
- 1095. Cars on Campus (30)
- Gaussian Mixture Model(学习Free Mind知识整理)
- JBOSS最大连接数配置和jvm内存配置
- Spring和MyBatis环境整合
- ANT构建JAVA WEB工程
- window下配置多个tomcat
- js高阶函数
- MapReduce模型
- NGUI基本使用之UISlider事件响应