ここで Git サーバーをセットアップする手順に従います: https://github.com/msysgit/msysgit/wiki/Setting-up-a-Git-server-on-Windows-using-Git-for-Windows-and- CopSSH、サーバーからリポジトリを複製する最後のステップまで、すべてが正しく機能します。
セットアップの途中で、他のいくつかのエラーに遭遇しましたが、すべて解決しました。彼らです:
- ファイルが見つかりません: ファイルを からに
libiconv-2.dll
コピーします。libiconv-2.dll
git/bin
ICW/Bin
- ファイル
git-receive-pack.exe
が見つかりません: で 3 つのソフト リンクを作成してくださいgit-receive-pack.exe
。ソースファイルはです。git-upload-pack.exe
git-upload-archive.exe
ICW/Bin
git/libexec/git-core/*
サーバーからリポジトリを複製する最後のステップで、次のエラーが発生しました。
このエラーが発生しました:
$ git clone git@127.0.0.1:/cygdrive/d/GitRepo/Test.git
Cloning into 'Test'...
fatal: '/cygdrive/d/GitRepo/Test.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
誰でも助けることができますか?ありがとう。