我通过分叉另一个项目创建了一个Azure Devops(VSTS)项目。现在,每当我们克隆新项目时,您都会在控制台输出中获得对原始项目的引用
remote: This repository is a fork. Learn more at https://aka.ms/whatisafork. remote: To add its upstream as a remote, run: remote: git remote add upstream <link to original repo>
有没有办法打破这种联系,让新项目永远不会引用旧项目?
如果你不想再这样了 have a fork ,你可以试试:
更改本地克隆的远程URL
git remote set-url origin /URL/new/VSTS/repo
推动一切
git push --mirror