git报错fatal: ‘origin‘ does not appear to be a git repository 解决
本地查看一下远程分支
git remote show origin
报错
原因是改了某个仓库别名或其他原因, 造成本地分支和远程分支断开连接
解决方法:
- git remote –v
如果什么都没输出, 说明和远程失去联系, 无法操作 - 加关联
git remote add 仓库别名 地址 - 此时再次查看远程分支或其他操作正常
本地查看一下远程分支
git remote show origin
报错
原因是改了某个仓库别名或其他原因, 造成本地分支和远程分支断开连接
解决方法:
使用Git进行代码push提交时,出现报错信息“fatal: 'origin' does not appear to be a git repository...”, ...
当使用Git进行代码push提交时,出现报错信息“fatal: 'origin' does not appear to be a git repository...”, $
在执行关联远程仓库时报错 fatal: remote origin already exists. 因为之前执行过一次错误的remote命令 git remote
报错原因 这是由于你已经提交过仓库了,需要删除后才能继续。 解决 键入以下命令,删除远程仓库: git remote rm origin 这回就能正常
[https://blog.csdn.net/u010289343/article/details/88827943][https_blog.csdn.net_u0102893
文章目录 \事故现场 \解决方法 -------------------- \事故现场 git push origin
本地查看一下远程分支 git remote show origin 报错 ![在这里插入图片描述][2020082116030363.png_pic_center]
提交代码时报此错: 在使用git提交代码时出现 fatal: Could not read from remote repository 这个错误 lenovo@LAPT
错误: $ git push origin basics-email-dev fatal: 'origin' does not
![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hlcm9f
还没有评论,来说两句吧...