当前位置:   article > 正文

git远程库与本地联系报错:fatal: Not a git repository (or any of the parent directories): .git_$ git remote -v fatal: not a git repository (or an

$ git remote -v fatal: not a git repository (or any of the parent directorie

在github上新建了一个仓库,然后相与本地的仓库联系起来

$ git remote add origin https://github.com/liona329/learngit.git

fatal: Not a git repository (or any of the parent directories): .git

总是报这个错

解决方法:git init

成功

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/正经夜光杯/article/detail/1008661
推荐阅读
相关标签
  

闽ICP备14008679号