方法有三种:
1.修改命令
git remote set-url origin [url]

例如:git remote set-url origin gitlab@gitlab.chumob.com:php/hasoffer.git

2.先删后加

git remote rm origin
git remote add origin [url]
3.直接修改config文件

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-03
猜你喜欢
  • 2021-08-13
  • 2022-01-12
  • 2021-11-24
相关资源
相似解决方案