How to merge two heads of a branch on bitbucket?

Member

by orpha , in category: Third Party Scripts , 4 months ago

How to merge two heads of a branch on bitbucket?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by jasen , 4 months ago

@orpha 

To merge two heads of a branch on Bitbucket, follow these steps:

  1. Navigate to the repository on Bitbucket where you want to merge the heads.
  2. Go to the "Branches" tab in the repository.
  3. Find the branch that has two heads and click on it to view the branch details.
  4. Click on the "Merge" button or the "Create a merge request" button (depending on your permissions) to start the merge process.
  5. Select the two heads that you want to merge from the dropdown menus.
  6. Review the changes that will be merged and resolve any conflicts if necessary.
  7. Once you are ready to merge, click on the "Merge" button to merge the two heads of the branch.
  8. After the merge is completed, you can delete the branch that had two heads if you no longer need it.


That's it! You have successfully merged two heads of a branch on Bitbucket.