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

Nick Reilingh
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.
August 21, 2015

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
Answer accepted
Nick Reilingh
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.
August 24, 2015

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
TAGS
AUG Leaders

Atlassian Community Events