简体   繁体   English

git bash无法从bitbucket或github拉或推

[英]git bash can't pull or push from bitbucket or github

I have a problem with git bash. 我对git bash有问题。 When I am trying to pull from bitbucket.org it asks me password and after I entered password I got an error: 当我尝试从bitbucket.org提取信息时,询问我密码,输入密码后出现错误:

fatal: unable to access https://myuser@bitbucket.org/myuser/repository_name.git/ Empty reply from server 致命:无法访问https://myuser@bitbucket.org/myuser/repository_name.git/来自服务器的空回复

I also tried SourceTree but I got the same error... 我也尝试了SourceTree但出现了相同的错误...

I cannot find a good solution ... Does someone have the same problem? 我找不到一个好的解决方案……有人遇到同样的问题吗?

I was facing the same issue. 我面临着同样的问题。 Looks like a problem with git cache. 看起来像git缓存有问题。 I deleted git.cache from .git directory and everything started working properly after that. 我从.git目录中删除了git.cache,此后一切开始正常运行。

我也遇到过同样的问题,重新启动SourceTree将解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM