如何修改本地项目关联的远程仓库地址


git remote -v
// 查看当前的远程仓库

git remote set-url origin https://where you want to put your repository to.git(例:https://git.huatonghh.com/11/micro-store-front-pc.git// 修改为想要设置的远程仓库

git remote -v // 验证

 

git remote -v # 查看当前的远程仓库 git remote set-url origin https://where you want to put your repository to.git# 修改为想要设置的远程仓库 git remote -v


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM