私たちは、私がしようとしています。このgitのクローンレポ
EDIT1
のため実際のコマンドが何であるかをリモートmchineディレクトリ
machine1:/usr/rep/ -> clone this to machine2:/var/new_repo
にローカルディレクトリにあるレポのクローンを作成するにはどうすればよいですmachine1に
EDIT2
からクローンを作成するために、私はまた、次のgitのクローン--bare [email protected]/usr/repoの/ var /レポ/いないことを確認するwhtherその正しい方法を試してみましたこれはあなたがいないEDIT2
You have no controlling tty and no DISPLAY. Cannot read passphrase. fatal: The remote end hung up unexpectedly ================================================Initialized empty Git repository in /var/repo/ DEBUG: remote_exec loop:$stderr: Initialized empty Git repository in /var/repo/ DEBUG: create_repoX loop: $stdout: DEBUG: create_repoX loop: $stderr: Initialized empty Git repository in /var/repo/ DEBUG: create_repoX loop: $exit: 32768
どのようにアクセスを提供しますか?プッシュ(サーバーはリモート)またはプル(サーバーはローカル) – Reactormonk