Forums

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

How do I tranfer repository from one Bitbucket to another Bitbucket?

sanka_gunamuni July 1, 2025

How do I transfer repository from one Bitbucket to another Bitbucket?

1 answer

0 votes
Brita Moorus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 2, 2025

Hi, @sanka_gunamuni! ✨

To transfer a repository from one Bitbucket account/workspace to another, you have two main options:

Option 1: Transfer Ownership

  1. Go to the repo in Bitbucket.
  2. Click Repository settings > Transfer repository (at the bottom).
  3. Enter the destination workspace ID and confirm. The repo moves with full history, issues, branches, etc.

You must be the repository admin. The destination workspace must also accept the transfer.

More info: https://support.atlassian.com/bitbucket-cloud/docs/transfer-repository-ownership/ 

Option 2: Clone and Push to New Repo 

If you're transferring between two unrelated Bitbucket accounts:

  1. Clone the source repo.

  2. Create a new repo in the target Bitbucket account.

  3. Push to the new repo. This keeps full commit history, branches, and tags, but not issues or PRs.

Hope this helps! ✨

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events