文章内容
2019/3/11 19:41:40,作 者: 黄兵
'origin' does not appear to be a git repository
最近在使用git提交的时候报如下错误:
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
无法读取远程库。
出现问题原因:
无法读取远程库,没有增加远程库。
解决方案:
增加远程库:
git remote add origin https://github.com/xxx
之后推送本地库,到远程:
git push origin feature_A
参考资料:Git push error: “origin does not appear to be a git repository”
黄兵个人博客原创。
转载请注明出处:黄兵个人博客 - 'origin' does not appear to be a git repository
评论列表