2

私のマシンでは、git クライアントのバージョンは 2.11.1.windows.1 で、サーバーは Bonobo Git Server 5.2.0.0 です。

コマンド プロンプト コマンドで、リポジトリのクローンを作成しようとすると、「/info/rafs が無効です: これは git リポジトリですか」というエラーが表示されます。

公式サイトの質問欄に行ったらこれ見つけた

致命的: http: /info/refs 無効: これは git リポジトリですか?

これは、サーバーからの応答として git ストリームを受信しなかったことを示す git クライアントの言い方です。これは通常、サーバー側でエラーが発生したことを意味します。

エラーの種類を特定するには、App_Data/Bonobo.Git.Server.Errors.log にあるログ ファイルを表示します。

errors.log.txt ファイル内に次のエラーが表示されます。

w3wp.exe Error: 0 : Error occured and caught in Global.asax - System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at Bonobo.Git.Server.MvcApplication.Application_AcquireRequestState(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
4

1 に答える 1