문제

On services like Bitbucket and Github, one has the option to create a Pull Request and a Merge. What are all of the differences between the two?

Differences I currently know of:

  • Ability to approve or reject request
  • Ability to provide add a descriptive message with the request

Other than that it seems like a pull request is just essentially a merge.. correct?

도움이 되었습니까?

해결책

Yes that is correct, the pull request on GitHub and Bitbucket is a request to merge two branches.

One of the use cases is to have a QA person who is not the developer review and approve the merge request.

Another use case is development on master branch is not allowed. A developer always develop on another branch. Once the development is completed, a pull request is created to merge into master branch.

다른 팁

A "pull request" is a request to an upstream repository to merge some changes into their code ("pull changes from my repository and add them to yours, please"). So it's not really like a merge at all -- it's a request to merge.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top