Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you delete a fork on Bitbucket?

Tags:

I've forked a repo on Bitbucket, it was a mistake, I want to delete the fork.

Rather than go through the hassle of merging it back in (which would be misleading as I haven't made any changes, anyway) I'd just like to delete it.

I can't see a front-end option in Bitbucket for this, but there must be one... right?

like image 831
Richard Avatar asked Jul 29 '11 07:07

Richard


People also ask

Can we delete a repository from bitbucket?

From the repository you want to delete, click Repository settings in the sidebar on the left side of the Repositories page. Once you're in the Repository details page, click Manage repository, which is located at the top of the page. Select Delete repository. (Optional) Enter a URL in the URL to new location field.

Can I delete a forked repository after pull request?

As mentioned here, as long as your PR (Pull Requests) are accepted, you can delete your fork.


1 Answers

Considering that a BitBucket fork simply create a repo on the BitBucket side, the simplest way to delete said fork is... simply delete the BitBucket repository.

(Update May 2014)

See Deleting a Bitbucket Repository:

  1. Log into your Bitbucket account.
  2. Navigate to the repository you want to delete.
  3. Click the repository's settings icon.
  4. Choose Delete Repository from the left-hand navigation.
    The system displays the deletion dialog.
  5. (Optional) Enter a URL in the Redirect to field.
    Future users who try to access your repository are sent to this new URL.
  6. Press Delete repository.

Example:

delete bitbucket repo

like image 183
VonC Avatar answered Nov 14 '22 20:11

VonC