Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Git-flow pull-request merge through Bitbucket

Code_Bear
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 1, 2018

I am still pretty new to git and Bitbucket so this might be a dumb question but when making a pull-request how can you direct Bitbucket to follow the same pattern that git-flow would use to close out a release branch?

Correct me if I am wrong but normally Release branches are merged into Master and Develop when you close the Release branch? In the bitbucket pull-request, I only see the option to merge into either master or develop.

I use SourceTree for all my other commits and merges but I am confused how you would achieve the expected result from within Bitbucket since it doesn't seem to be set up to work as a Git-flow workflow.

I could just trigger a release finish in SourceTree but I am not sure what happens to the pull request at that point since the branch the pull-request was made for would be merged and deleted. So I am assuming there is a better way to do it within Bitbucket and the pull-request.

1 answer

0 votes
David Keaveny
Contributor
June 21, 2019

I haven't found a solution to this yet - we will approve PRs through the BitBucket UI, but then switch to Sourcetree to do the finish the release branch (or hotfix branch or whatever). BitBucket will detect the merge has been done, and closes the PR.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events