2

デフォルトのRailsアプリをgitにコミットするのに問題があり、問題のトラブルシューティングで壁にぶつかりました。私は現在Ubuntu11.10を実行しています。gitバージョン1.7.5.4を実行しています。私は一連の

git init
git add .
git commit -m "first commit"
git remote add origin git@github.com:username/first_app.git
git push -u origin master

github.comでもリポジトリを作成していますが、次のエラーが発生します。

Permission denied (publickey).
fatal: The remote end hung up unexpectedly

考え?

4

1 に答える 1

1

システムの公開鍵をgithub.comのgit管理インターフェースに追加する必要があります。

https://help.github.com/articles/generated-ssh-keys

于 2012-11-18T05:30:06.870 に答える