Skip to content

Commit

Permalink
增加开发人员操作流程
Browse files Browse the repository at this point in the history
  • Loading branch information
10wjfang committed Apr 8, 2021
1 parent 7645881 commit 3c0f552
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions _posts/2018-12-06-git-again.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,22 @@ git merge master //合并master到branch分支
git rm -r --cached .
```

## 开发人员操作流程

假如名为张三的同志,开发完成,他的具体操作顺序应该是:

1、git checkout develop,需要先把自己分支上的代码add, commit

2、git pull origin develop,如果有冲突,先与伙伴商量解决,完成之后add, commit

3、git checkout zhangsan

4、git merge develop,与本地develop分支进行合并,并解决冲突,完成之后add, commit

5、git push origin zhangsan,把本地zhangsan分支推送到远程zhangsan分支

6、远端查看改动是否正确,然后通过远程创建合并,完成远程zhangsan合并到远程develop分支

## IDEA安装.ignore插件

File -> Settings -> Plugins -> Browser repositories
Expand Down

0 comments on commit 3c0f552

Please sign in to comment.