Merging a pull request using BitBucket

Used when a developer has pushed some code upstream and wants to merge with yours or the master branch.

  1. First, you will be notified that someone has made a pull request. In your repo on BitBucket, you will see a pull request waiting for you. Click on it.
  2. Now you should be able to see the pull request and the author that it is coming from. Click the title to review the code that has been requested to be merged with your branch.
  3. You should not be able to see all the code that has been committed by the author. After closely reviewing the code click the ‘Approve’ and then merge. This should then merge the authors changes to the master. You should now see all the code that has been pulled in the commit’s section of the master repo.
  4. Now pull the code from the repo to the origin.