使用Azure DevOps,可以在辅助分支中维护有效代码的回购。然而,主分支机构已经过时好几年了。
我想抹掉主人的内容,然后用第二分支的内容覆盖它。
我知道处理不当会导致严重的命名空间问题,我想避免这种情况。
您建议用Azure DevOps中的第二个分支完全取代master吗?
发布于 2019-03-07 21:43:55
git clone {repo url}git checkout {secondary branch}Ctrl+A,Ctrl+C。git checkout masterCtrl+V。git add .
git commit -m "update master"git push现在,master分支使用secondary branch的内容进行更新。
https://stackoverflow.com/questions/55030699
复制相似问题