草庐IT

git - 如何解析 "git pull,fatal: unable to access ' https ://github. com...\': Empty reply from server"

当我使用Git命令“gitpull”更新我的存储库时失败,消息如下:致命:无法访问“...”:来自服务器的空回复。我尝试使用GitHub应用程序,但警告:Cloninginto'renren_mobile'...warning:templatesnotfound/Applications/GitHub.app/Contents/Resources/git/templates2014-11-2313:58:57.975GitHubforMacLogin[659:11891]AskPasswitharguments:("/Applications/GitHub.app/Contents/M

windows - Git 错误 : fatal: unable to connect a socket (Invalid argument)

我的msysGit(Windows上的Git)在我的家用机器上运行良好,但在工作中,我们在MicrosoftISA代理后面,当我执行git克隆时出现以下错误:H:\>gitclonegit://github.com/akitaonrails/vimfiles.gitInitializedemptyGitrepositoryinH:/vimfiles/.git/github.com[0:65.74.177.129]:errno=Invalidargumentfatal:unabletoconnectasocket(Invalidargument)我尝试将http_proxy环境变量设置为

windows - Git 错误 : fatal: unable to connect a socket (Invalid argument)

我的msysGit(Windows上的Git)在我的家用机器上运行良好,但在工作中,我们在MicrosoftISA代理后面,当我执行git克隆时出现以下错误:H:\>gitclonegit://github.com/akitaonrails/vimfiles.gitInitializedemptyGitrepositoryinH:/vimfiles/.git/github.com[0:65.74.177.129]:errno=Invalidargumentfatal:unabletoconnectasocket(Invalidargument)我尝试将http_proxy环境变量设置为

git - ssh : Could not resolve hostname github. com:名称或服务未知; fatal: 远端意外挂断

设置GitHub帐户的过程工作正常,但当我尝试将我的存储库推送到GitHub时它不起作用。它显示的错误信息如下:ssh:Couldnotresolvehostnamegithub.com:Nameorservicenotknownfatal:Theremoteendhungupunexpectedly我已尝试更改RSAkey,但仍然出现错误。是什么导致了这个错误? 最佳答案 最近我也看到了这个问题。下面,你有我的解决方案:pinggithub.com,如果ping失败。这是DNS错误。sudovim/etc/resolv.conf,

git - ssh : Could not resolve hostname github. com:名称或服务未知; fatal: 远端意外挂断

设置GitHub帐户的过程工作正常,但当我尝试将我的存储库推送到GitHub时它不起作用。它显示的错误信息如下:ssh:Couldnotresolvehostnamegithub.com:Nameorservicenotknownfatal:Theremoteendhungupunexpectedly我已尝试更改RSAkey,但仍然出现错误。是什么导致了这个错误? 最佳答案 最近我也看到了这个问题。下面,你有我的解决方案:pinggithub.com,如果ping失败。这是DNS错误。sudovim/etc/resolv.conf,

git pull 显示 "fatal: Couldn' t find remote ref refs/heads/xxxx"并挂断

我创建了一个名为6796的分支,然后我将它推送到远程,在另一台机器上检查它,进行其他编辑,推送它,然后将它与mastermerge,并在另一台机器上本地和远程删除它(gitpush:6796)。现在,当我运行gitpull时:fatal:Couldn'tfindremoterefrefs/heads/6796user@host:~/path/to/repo$fatal:Theremoteendhungupunexpectedly但是gitpulloriginmaster工作正常。在我看来,某处有一个6796引用...如何解决这个问题? 最佳答案

git pull 显示 "fatal: Couldn' t find remote ref refs/heads/xxxx"并挂断

我创建了一个名为6796的分支,然后我将它推送到远程,在另一台机器上检查它,进行其他编辑,推送它,然后将它与mastermerge,并在另一台机器上本地和远程删除它(gitpush:6796)。现在,当我运行gitpull时:fatal:Couldn'tfindremoterefrefs/heads/6796user@host:~/path/to/repo$fatal:Theremoteendhungupunexpectedly但是gitpulloriginmaster工作正常。在我看来,某处有一个6796引用...如何解决这个问题? 最佳答案

git - 如何修复尝试使用 Git 推送时出现的 "remote: fatal error in commit_refs"错误?

当我尝试推送到master时,我得到:remote:fatalerrorincommit_refs我该如何解决这个问题? 最佳答案 就我而言,当我尝试推送时,GitHub已关闭。只需检查https://www.githubstatus.com/了解GitHub站点状态。启动后,您就可以推送了。 关于git-如何修复尝试使用Git推送时出现的"remote:fatalerrorincommit_refs"错误?,我们在StackOverflow上找到一个类似的问题:

git - 如何修复尝试使用 Git 推送时出现的 "remote: fatal error in commit_refs"错误?

当我尝试推送到master时,我得到:remote:fatalerrorincommit_refs我该如何解决这个问题? 最佳答案 就我而言,当我尝试推送时,GitHub已关闭。只需检查https://www.githubstatus.com/了解GitHub站点状态。启动后,您就可以推送了。 关于git-如何修复尝试使用Git推送时出现的"remote:fatalerrorincommit_refs"错误?,我们在StackOverflow上找到一个类似的问题:

git describe 失败并显示 "fatal: No names found, cannot describe anything."

我在Ubuntu10.10amd64上使用git1.7.1,我正在尝试提取我的存储库HEAD的哈希值,以便在我编译到我的项目中的自动化版本信息中使用它。过去,这总是通过使用gitdescribe--tags然而,git现在正在抛出fatal:Nonamesfound,cannotdescribeanything.对着我。有谁知道这是什么意思?谷歌只显示了很少的点击,没有解决方案。 最佳答案 如果你想要你的HEAD的ID那么你不需要describe,你应该只使用rev-parse.gitrev-parseHEAD如果你想要一个缩写的散