fatal: not a git repository (or any of the parent directories): .git 的解决_殇陌离tk的博客-CSDN博客在使用git做本地的项目上传到github的时候,在进行远程建立连接的时候,出现了这个错误,fatal: not a git repository (or any of the parent directories): .git如图所示:这个错误说明了没有 .git这样的一个目录,所以只需要 git init一下,就可以解决了,然后再重新建立远程连接。...https://blog.csdn.net/weixin_42614080/article/details/103809356 git下载问题warning: remote HEAD refers to nonexistent ref, unable to checkout_sping115116的博客-CSDN博客去网上查找原因,网上基本说的都一致,说是没有master分支,应该用git show-ref查找有效分支,选择一个分支下载就可以了,完全没有明白(我是git小白),直接输入git show-ref完全没有反应,那应该怎么办呢?https://blog.csdn.net/sping115116/article/details/129716821?spm=1001.2014.3001.5502