我有一个天蓝色(https://dev.azure.com/)项目,我在一台计算机上完成了该项目,然后我开始在另一台计算机上进行了该项目,现在它与旧存储库没有连接,如何将项目推入旧版本中仓库中仍然有旧文件?我的计算机前后有两个存储库
我在那里找不到这样的行
git remote add origin https://github.com/kepamuk/asdasdas.git
git push -u origin master
我应该怎么做才能将代码上传到旧的存储库?
我在那里找不到这样的行
git远程添加来源https://github.com/kepamuk/asdasdas.git
git push -u原始主机
我应该怎么做才能将代码上传到旧的存储库?
对于azure devops回购,相应的URL是您在azure devops Web门户中回购页面的URL。
URL格式为:https://dev.azure.com/YourOrgName/YourProjectName/_git/YourReposName
所以相应的命令是:
git remote add origin https://dev.azure.com/YourOrgName/YourProjectName/_git/YourReposName
git add .
git commit -m "My test commit"
git push -u origin master