git错误fatal: remote origin already exists.

输入 $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

猜你喜欢

转载自www.cnblogs.com/ding-daisy/p/9104548.html