How do you delete a fork on Bitbucket?

Richard picture Richard · Jul 29, 2011 · Viewed 42.4k times · Source

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?

Answer

VonC picture VonC · Aug 3, 2011

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