- 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------>提示:Already up to date
12.git push
13.git status
Git使用--提交遇冲突
最新推荐文章于 2024-08-04 19:48:42 发布