Bitbucket
To merge data from one Bitbucket branch into another branch:
- In Bitbucket, navigate to the repository you are using for version control.
- In the left sidebar, click the + icon.
- Select the branch containing the data you’ve changed and desire to merge.
- Click Create a pull request.
- Enter a title and description for your pull request.
- Click Create pull request.
- View the differences between the two branches that are now earmarked for merging.
- Click Merge.
For more detailed information, refer to the Bitbucket topic on creating a pull request.
GitHub
To merge data from one GitHub branch into another branch:
- In GitHub, navigate to the repository you are using for version control.
- Select the branch containing the data you’ve changed and desire to merge.
- On the Pull requests tab, click New pull request.
- Enter a title and description for your pull request.
- Click Create pull request.
- Scroll down and view the differences between the two branches that are now earmarked for merging.
- On the Pull Requests tab, in the pull requests list, select the pull request you just created.
- Click Merge pull request to initiate the merge.
- Click the drop down arrow to the right of Confirm merge and select either:
- Create a merge commit to leave all the commits separate.
Or - Squash and merge to create a single commit from all changes.
- Create a merge commit to leave all the commits separate.
- Click Confirm merge.
For more detailed information, refer to the GitHub help topics on creating a pull request , merging a pull request, and pull request merges.