mritz_p
mritz_p

Reputation: 3108

Remove information about a fork from 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.

Upvotes: 4

Views: 2446

Answers (1)

larsks
larsks

Reputation: 311721

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.

Upvotes: 3

Related Questions