-
Notifications
You must be signed in to change notification settings - Fork 0
Home
umorigu edited this page Jan 12, 2012
·
5 revisions
FFFTP ( http://sourceforge.jp/projects/ffftp/cvs/ ) のミラーリポジトリです。勝手ミラー
- Mirroring SourceForge Git repositories to GitHub
$ cd /tmp $ mkdir ffftp1 $ cd ffftp1 $ git clone --bare --mirror git://git.sourceforge.jp/gitroot/ffftp/ffftp.git $ cd ffftp.git $ git remote add github git@github.com:umorigu/ffftp-mirror.git
$ cd /tmp/ffftp1/ffftp.git $ git fetch --mirror $ git push --mirror github
$ git push github error: cannot run ssh: No such file or directory fatal: unable to fork
$ git push github Password:
プロンプトが Password: の次の行に出てしまって入力してもなにもならない
$ git remote rm github $ git remote add github git@github.com:umorigu/ffftp-mirror.git
公開鍵をGithubに登録する必要がある
$ ssh-keygen -t rsa -C "umorigu@gmail.com" Generating public/private rsa key pair.
$ cat ~/.ssh/id_rsa.pub
の結果を GitHub - Account Settings - SSH Public Keys - Add another public key に追加