github与sourcetree配置互连---2020-05-
2020-05-27 本文已影响0人
正在刷新log
1、git安装与配置
1、直接到官网中下载windows安装包 全部默认选项 安装
2、验证是否安装成功
git --version
成功后的提示如下

3、配置全局用户 和邮箱
git config --global user.name “名称” // 配置用户
git config --global user.email "邮箱号" // 配置邮箱
git config --list // 查看配置的邮箱和用户

2、github配置
- 新建github账号
- 本地git与github关联
【引用教程】https://www.cnblogs.com/qweeewy/p/10110163.html
3.. 新建github项目
image.png
image.png
4.github项目拉取到本地
复制下面的ssh 如图
image.png
3 通过sourceTree界面式操作推送服务


然后就可以通过sourcetree操纵git 管理github项目