码迷,mamicode.com
首页 > Windows程序 > 详细

bitbucket+sourcetree+p4merge for windows 版本控制

时间:2014-10-02 14:39:52      阅读:263      评论:0      收藏:0      [点我收藏+]

标签:blog   http   使用   ar   for   文件   div   c   log   

这里选择bitbucket作为仓库的原因是,它能够在设置私有仓库的前提下组建5人团队
一:https://bitbucket.org/ 注册bitbucket
二:http://www.sourcetreeapp.com/download/ (下载sourceTree安装,选择默认路径)
三:http://www.perforce.com/downloads/Perforce/Customer (下载P4Merge安装选择默认路径)
四:在sourcetree配置文件中将P4Merge设置为外部处理冲突合并工具(下面是增加到sourcetree配置文件中的代码)

           tool = p4merge
 [difftool "p4merge"]
           path = /c/Program Files/Perforce/p4merge.exe ## For Windows  (这里是安装p4的路径)
 [merge]
          tool = p4merge
 [mergetool "p4merge"]
          path = /c/Program Files/Perforce/p4merge.exe ## For Windows
          trustExitCode = true
          keepBackup = false

windows中使用sourcetree注意事项:默认安装的P4merge中在解决冲突时

如果有中文会出现乱码,这时我们选择左上角的菜单栏中的file->charactor Encoding将格式修改为UTF-8后才能存储

  

bitbucket+sourcetree+p4merge for windows 版本控制

标签:blog   http   使用   ar   for   文件   div   c   log   

原文地址:http://www.cnblogs.com/xiaoliao/p/4003984.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!