git设置mergetool可视化工具
来源:互联网 发布:海岛奇兵建筑升级数据 编辑:程序博客网 时间:2024/06/13 14:03
git设置mergetool可视化工具
可以设置BeyondCompare,DiffMerge等作为git的比较和合并的可视化工具,方便操作.
设置如下:
- 先下载并安装BeyondCompare,DiffMerge等.
- 设置git配置,设置BeyondCompare的git命令如下:
#difftool 配置git config --global diff.tool bc4git config --global difftool.bc4.cmd "\"c:/program files (x86)/beyond compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\""#mergeftool 配置git config --global merge.tool bc4git config --global mergetool.bc4.cmd "\"c:/program files (x86)/beyond compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\""git config --global mergetool.bc4.trustExitCode true#让git mergetool不再生成备份文件(*.orig)git config --global mergetool.keepBackup false
使用方法如下:
diff使用方法:
git difftool HEAD // 比较当前修改情况
merge使用方法
git mergetool
sourceTree设置方法如下:
1.在菜单(工具->选项)中设置如图
2.使用菜单(操作->解决冲突->打开外部合并工具),则可使用
0 0
- git设置mergetool可视化工具
- git设置 mergetool为kdiff3
- git mergetool 设置为 meld
- git mergetool
- 使用Beyond Compare作为git mergetool的默认对比工具
- Mac 安装git mergetool
- 解决冲突git mergetool
- git diff可视化工具
- git diff可视化工具
- git使用--可视化工具
- Use vimdiff as git mergetool
- git 替换diff与mergetool
- git中配置Beyond Compare作为mergetool
- 配置WinMerge作为Git的mergetool
- git difftool和mergetool图形化
- 配置git mergetool不产生*.orig文件
- Git可视化工具SourceTree的使用
- Git可视化工具SourceTree的使用
- 【vue2.0实战分享】搭建vue运行环境以及项目目录
- CEPH Ubuntu14.04 集群添加 OSD 节点
- C#实现冒泡排序
- hive的查询注意事项以及优化总结 .
- C语言实现的各种素数晒
- git设置mergetool可视化工具
- linux ssh免密码登录详解
- [Leetcode] 15. 3Sum
- 《从0到1》前十章学习摘录
- spark查询异常记录
- POJ1679 The Unique MST
- 浅谈页面性能优化
- 多重背包(二进制优化)
- KMP之循环节 hdu 3746