本帖最后由 marx说 于 2019-9-4 11:21 编辑哪里不对可以在评论回复。。。
一、从远程pull代码:
1.首先需要知道url:
【Git】phpstorm使用git
2.clone代码:
2.1.1 在开始界面clone
【Git】phpstorm使用git
2.1.2 在编辑界面clone
【Git】phpstorm使用git
2.2输入第一步的url
【Git】phpstorm使用git
3.切换版本
【Git】phpstorm使用git
4.修改代码
【Git】phpstorm使用git
5.commit-fetch-push代码
5.1打开commit界面
【Git】phpstorm使用git
5.2commit
【Git】phpstorm使用git
5.3fetch
【Git】phpstorm使用git
5.4push
【Git】phpstorm使用git
5.5push之后
【Git】phpstorm使用git
6.commit-fetch-merge-push代码
6.1fetch
【Git】phpstorm使用git
6.2merge
【Git】phpstorm使用git
6.3冲突列表
【Git】phpstorm使用git
6.4合并界面
【Git】phpstorm使用git
6.5push
【Git】phpstorm使用git
二、本地项目第一次push到git
1.创建本地仓库
【Git】phpstorm使用git
2.弹出添加remote地址界面
【Git】phpstorm使用git
3.添加remote地址 remote地址获取:见第一的第1步
【Git】phpstorm使用git
4.然后push就可以了。

相关文章: