win7下安装sourcetree

1.安装git,百度搜索就行
2.安装sourcetree 自行找链接
3.在git bash 下生成客户端  ssh-keygen -t rsa
4.然后将生成的C:\Users\jiangtong\.ssh\id_rsa.pub 文件上传到服务器keydir目录(交给git管理人员就行)
5.确保sourcetree ,工具-选项,弹出选项卡第三个git选项,使用系统git


6.确保source tree 工具-选项,的一般选项卡ssh客户端配置使用openssh
win7下安装sourcetree_第1张图片

7.配置完成,现在可以clone (5,6项必须配置,要不然会source会报“这是一个无效的源路径”)



常见问题
提交的时候出现
git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\Users\AppData\Local\Temp\yo1s42oy.fz2

*** Please tell me who you are.
原因:你没有设置邮箱
 git config --global user.email  "[email protected]"
 
 git config --global  user.name "Your Name"
设置一下就行了 

你可能感兴趣的:(git,SourceTree)