We forked a repo in Azure, and we want to remove the original repo, but I am afraid that if I delete the original one, the forked one will also be deleted, is there a way to remove the fork link between those two repos?
From the Fork, do Clone, Checkout then
git remote remove origin
Delete Fork on Azure DevOps or anywhere
Create brand new Repo
git remote add origin <new-repo-url>
git pull origin main --allow-unrelated-histories
[‘main’ is my local repo]
git push --set-upstream origin main
git push
This preserves history and when you do Pull Request on branches, it is no longer associated with the old repo.