Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove information about a fork from Bitbucket

Tags:

git

bitbucket

I have recently forked one of my Bitbucket projects to create a different edition of the service contained. The project the fork originated from lives on and the fork will never be merged back to the original project.

Bitbucket message about a fork being behind

How can I remove the reference to the originating project so that I don't get offered to merge code back to this project in the Bitbucket UI.

like image 738
mritz_p Avatar asked Nov 01 '25 02:11

mritz_p


1 Answers

There is probably a simpler answer, but you could:

  1. Make sure you have an up-to-date local copy of the repository.
  2. Delete the project on BitBucket.
  3. Re-create the project with the same name
  4. git push your local repository to the new project.

Now you have a project with the same repository history that has no link to the "parent" repository.

like image 74
larsks Avatar answered Nov 04 '25 04:11

larsks



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!