![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
swlulu~
这个作者很懒,什么都没留下…
展开
-
Git使用--提交遇冲突
git pull拉取最新代码 git status查看当前状态 git add Xxxx.java git status(养成随时查看状态的习惯) git commit -m “feat: 补充历史版本接口文档” git pull --------->提示:合并失败----->需要我们手动解决冲突 git status(查看状态) git add Xxxx.java git status 10.git commit -m “fix: 解决冲突” 11.git pull------>提示.原创 2021-05-31 13:14:45 · 144 阅读 · 0 评论 -
Git使用日常
使用日常 1.在develop分支上把代码从远程拉下来 git pull 2.自己在本地创建一个分支,然后在自己的分支上作业 git checkout -b develop-swl 3.每天晚上再将自己的分支合并到develop分支上 切回develop分支,然后执行git merge develop-swl 4.删除自己的分支 git branch -d develop-swl 5.第二天在重新创建分支 ...原创 2021-05-31 13:06:45 · 69 阅读 · 0 评论