How do I change an upstream repo to a downstream one?

I have a personal repo which I forked to a repo owned by a team. The team's repo should be considered the primary one, but I'm still the maintainer in either case. Since I forked the team's repo from my personal one, mine is listed as the upstream repo, and the team repo wants to sync updates from it.

But, I'd like it to be the other way around, I think. I'd like the team's repo to be upstream, my personal repo would sync changes, and I'd be able to submit pull requests to it.

Is there a way to change the upstream/downstream direction through bitbucket? If not, what would happen if I deleted my personal repo and then forked a new personal repo from the team one? I think theoretically that would work, but I'd like to be sure.

1 answer

1 accepted

0 votes
Accepted answer

Answering my own question...

Tested the following: deleted my original private repo, and the team's repo no longer references it as a fork. Created a new private repo by forking the team's and now the "stream" is in the desired direction.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

199 views 3 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you