git-sourceTree使用

sourceTree提交项目到GitHub

1、注册GitHub账号
2、新建一个代码库
git-sourceTree使用
git-sourceTree使用
3、安装sourceTree:
到:https://www.sourcetreeapp.com/下载软件
安装及跳过登录参考:
http://blog.csdn.net/leishao8852/article/details/52432733
https://www.cnblogs.com/leohe/p/6726120.html
4、生成ssh key :
git-sourceTree使用
生成时:ssh-****** -t rsa -C "your email"
一路enter即可
5、使用git bash 克隆到本地;有ssh和HTTPS
git-sourceTree使用
git-sourceTree使用
6、使用sourceTree带有的pageant工具
git-sourceTree使用
git-sourceTree使用
loader private key
打开git-sourceTree使用
其中有id_rsa和id_rsa.pub文件,将id_rsa.pub文件中的内容添加到GitHub设置中git-sourceTree使用
选中id_sra生成:
git-sourceTree使用
保存:git-sourceTree使用
pageant中添加id_ras.ppk
git-sourceTree使用
7、sourceTree中完成clone