git pull or fetch behaves differently every time i run these commands on git bash for windows

非 Y 不嫁゛ 提交于 2020-05-13 18:06:01

问题


git pull and git fetch behaves in 4 different ways listed below

1.) Returns nothing and display the command prompt. I checked the exit code it comes out to be 1.
2.) Fails with error "remote end hung up unexpectedly, early EOF's unpack objects failed.
3.) Fails with error "remote end hung up unexpectedly bad pack header.
4.) Execute successfully some time.

For point number 2 and 3 i tried various solutions (editing the config file) given on internet but still the issue persists. can someone help me resolve all the issues listed above in one answer??

git version -- 2.21 (64 bit) , Windows -- 64 bit and remote URL -- SSH

Thanks in advance.

来源:https://stackoverflow.com/questions/61636918/git-pull-or-fetch-behaves-differently-every-time-i-run-these-commands-on-git-bas

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!