无法在git存储库中拉/推 [英] Unable to pull/push in git repository

查看:101
本文介绍了无法在git存储库中拉/推的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


致命错误:无法访问'https: C:\\ Users \\ abc \\ AppData \\ Local \\ Program \\ Git \\ >

当我拉或推我的代码时,出现此错误。



请指导我解决这个问题。

解决方案

在windows中面对这个问题并使用gitbash运行git。我刚刚重新安装了gitbash,并且gitbash自动管理git证书及其所需的路径。


$ git pull origin master
fatal: unable to access 'https://xxxxxxxxxxxxxxx': 
      error setting certificate verify locations:
CAfile: C:/Users/abc/AppData/Local/Programs/Git/usr/bin/curl-ca-bundle.crt
CApath: none

I am getting this error when I pull or push my code.

Please guide me to fix this.

解决方案

I was also facing this problem in windows and running git using gitbash. I just reinstalled gitbash, And gitbash automatically managed git certificate and its path needed.

这篇关于无法在git存储库中拉/推的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆