Skip to content

Instantly share code, notes, and snippets.

@XiufengChen
Last active January 18, 2017 19:49
Show Gist options
  • Save XiufengChen/8ecab361754bf9875880dd88acc1c705 to your computer and use it in GitHub Desktop.
Save XiufengChen/8ecab361754bf9875880dd88acc1c705 to your computer and use it in GitHub Desktop.
  1. 每个开发者根据一个base branch(在我们的前端项目中大多数情况下为develop)创建一个自己的feature branch
  2. 完成feature branch开发以后,确认无误,push到相应的branch上
  3. 在github网站上,可以看到

Imgur

点击Compare & pull request 4. 选择创建时的base branch,后面是自己的branch,并且填写pull request记录, create pull request

Imgur

  1. 完成后的效果

Imgur

  1. 组长review过后,会给出相应的评论或者确认是否approve pull request,组员需要根据情况修改feature branch,再pull request 下图是成功merge过后的结果

Imgur

一般情况下,merge成功以后,可以delete branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment