2017-10-14 151 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

感謝答覆。我會檢查服務器團隊進一步調查。 –

相關問題