2017-10-14 149 views
1

我使用克隆远程仓库: 混帐克隆--depth 1 --branch分支名称回购网址混帐推到远程失败,浅克隆 - 500内部服务器错误

然后所做的更改,并试图推代码到远程回购 - 它失败的消息 -

error: RPC Failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error fatal: The remote hung up unexpectedly fatal: The remote hung up unexpectedly

这个错误出现每次我尝试浅克隆与--depth 1选项的时间。 克隆具有完整历史记录的分支时,推送完全正常。

我使用的是GIT v2.10.2。 尝试与Git Bash和SourceTree。它每次都有相同的行为。

有关如何解决此问题的任何建议,因为我不想克隆每次提交的完整历史记录。

回答

0

错误500是一个server-side error

This is a 'catch-all' error generated by the Web server. Basically something has gone wrong, but the server can not be more specific about the error condition in its response to the client.

In addition to the 500 error notified back to the client, the Web server should generate some kind of internal error log which gives more details of what went wrong.

所以这是与其说是一个GIT中或SourceTree(客户端)的错误,因为它是在远程服务器端一个天翻地覆:视其中你应该检查该服务器(或联系该Git存储库托管服务的支持)以查看发生了什么(此处:查看是否支持浅层克隆/推送,因为它是should be with Git 2.9

+0

感谢答复。我会检查服务器团队进一步调查。 –

相关问题