project/git代码分支操作.md

12 lines
628 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

环境test、master
### 正常操作
1. 从test上拉取自己的分支test-name用于开发指定的需求功能。尽力解耦不用其他不在master环境功能。
2. 开发完成后将自己本地test分支更新并将test-name合并到test并pull此时也可以pull自己的分支name-test
3. 如果需要自己的需求单独上master此时将name-test合并到master而不是合并test此时test可能有其他不健全功能。
### 单独修改masterbug
1. 从master拉取分支修改bug-master修改完成后bug-master合并到test测试测试完成之后将bug-master合并到master上