Azure-devops-docs: Dissociate fork from upstream repo

Created on 16 Jan 2019  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-devops-docs

Is there any way to dissociate a fork from its upstream repo? For example, Repo A might be forked to create Repo B, and then B diverges into its own independent codebase. New branches in Repo B should always have their pull requests default to Repo B, not Repo A.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Most helpful comment

Can we request that some better alternative be added, maybe in the repo's settings?

Yeah, that's a reasonable feature request. See and upvote: https://developercommunity.visualstudio.com/idea/365802/allow-option-of-converting-forks-to-repos.html

All 4 comments

Hello, unfortunately there is no way to disassociate a fork from it's parent repo. This is not ideal, but you could clone B locally and push the contents to a new repo C. You would lose history etc. but it would allow you to begin pushing to 'Repo C'

Hi Joe, thanks for explaining. That's an interesting approach, and does provide a workaround to the problem. However as you mentioned it can lose some important information, and conflicts with using the "Fork" button from the web interface. Can we request that some better alternative be added, maybe in the repo's settings?

Can we request that some better alternative be added, maybe in the repo's settings?

Yeah, that's a reasonable feature request. See and upvote: https://developercommunity.visualstudio.com/idea/365802/allow-option-of-converting-forks-to-repos.html

Great, I'll upvote the issue over there. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

atrauzzi picture atrauzzi  Â·  3Comments

LennartAJansson picture LennartAJansson  Â·  3Comments

sevaa picture sevaa  Â·  3Comments

adnanebrahimi picture adnanebrahimi  Â·  3Comments

EM1L picture EM1L  Â·  3Comments