git 更换远程连接

Posted on 2022-06-29 16:18  C_R_ZzJ  阅读(134)  评论(0编辑  收藏  举报

原来的git仓库不可用,更换远程仓库

  查看远程仓库地址

git remote -v

  删除远程仓库

git remote rm origin

  添加远程仓库地址

git remote add origin [url]

  

Copyright © 2024 C_R_ZzJ
Powered by .NET 8.0 on Kubernetes