Forums

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

Restore merged/deleted branch in bitbucket

gmanimyl
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!
May 13, 2019

Long back I have created a pull request to merge my branch into master and it was done. I think the merged branches will not be available on Bitbucket for longer time? (Anyway, my branch is not available).

But, is there a way to recover that branch in Bitbucket?

I know how to recover it on git/sourcetree, but I want in Bitbucket to create another branch from this.

I have used this command to recover my branch to sourcetree,

git checkout -b <branch> <sha>

1 answer

1 accepted

2 votes
Answer accepted
gmanimyl
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!
May 13, 2019

Created a tag from last commit of my branch and created branch from that tag.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events