2017-10-14 29 views
1

私が使用してリモートリポジトリをクローン化した。その後、変更を行ったとしようとした--branch支店名レポURLGitのリモートへのプッシュが浅いクローンで失敗 - 500内部サーバーエラー

1 --depth gitのクローンをそれはメッセージで失敗しました - - リモートリポジトリにコードをプッシュする

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

ありがとう返信私はさらに調査するためにサーバーチームをチェックします。 –

関連する問題