文章目录
git问题记录以及相关解决,也可能没解决。记录一下。
问题:error: You have not concluded your merge (MERGE_HEAD exists).
- 在有时候合并的时候,合并时会出现空合并,导致合并操作失败,但是再进行拉取代码时,会报错,即你尚未完成合并操作。
解决办法:
关闭当前合并,重新合并代码;
git merge --abort
git reset --merge
git pull
git push
问题:gitee (码云)克隆代码时,报错
- 当一台新电脑,或者更新系统之后。克隆码云仓库中的代码时,一般会出现下述错误,原因就是我们虽然登录了当前网站,保留了账号密码,但是保存用户凭据时,对应的网站地址不正确导致的。
- 错误
```
warning: could not find UI helper 'git-credential-manager-ui'
```
- 解决
- 将`https://gitee.com/`,以及当前网站的登录用户的账户密码,添加到当前系统的凭据管理器中。
问题:使git区分大小写
git config core.ignorecase false使git区分大小写。
问题:fatal: unable to access ‘https://github.com/xxxx/xxxx.git/’: OpenSSL SSL_read: Connection was reset, errno 10054
git config --global --unset http.proxy
git config --global --unset https.proxy
问题:git clone 时报错:‘fatal: unable to access’
-
问题
git clone https://github.com/xxx/xxx.git Cloning into 'xxx'... fatal: unable to access 'https://github.com/xxx/xxx.git/': Failure when receiving data from the peer -
方法一:git 代理配置修改
git config --global --unset http.proxy git config --global --unset https.proxy
1165

被折叠的 条评论
为什么被折叠?



