输入 $git remote add origin https://github.com/用户名/项目.git,提示fatal: remote origin already exists.
解决办法:
1 、先输入$ git remote rm origin
2、再输入git remote add origin https://github.com/用户名/项目.git
原文地址:https://www.cnblogs.com/ding-daisy/p/9104548.html
时间: 2024-10-12 22:41:22