推送代码分支时出现:fatal: 'origin' does not appear to be a git repository

解决方案:

执行如下命令:

git remote add origin git@github.com:yourusername/test.git
yourusername:为github注册名
test:为远程库名
如图所示:

推送代码分支时出现:fatal: 'origin' does not appear to be a git repository

应执行命令为:
git remote add origin git@github.com:fwl8888/f01.git

 

再次执行推送提交即可

 

相关文章:

  • 2022-12-23
  • 2021-06-02
  • 2022-03-04
  • 2022-01-08
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-23
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
相关资源
相似解决方案