克隆失败
我刚刚遇到了一个问题,通过pycharm使用gitlab克隆失败。问题如下:
‘submodule’ appears to be a git command, but we were not able to execute it. Maybe git-submodule is broken?
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200120230015292.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MzQzMTU5Mw==,size_16,color_FFFFFF,t_70
从这个博客开始写起,写完之后就是问题结束之时。
问题分析
上述提示语表明,该问题是git命令貌似出了问题,因此,我们通过git客户端去执行命令:
git
git status
git init
git status
如图,git还是可以用的,只是出现报错:fatal: not a git repository (or any of the parent directories): .git
上述问题表明,存储库出现了问题,因此git init初始化来还原。
git config --global http.sslVerify false
通过关掉https证书,来去掉ssl的验证