0
我安装了Git并运行了设置我的用户名和电子邮件。远程终端意外挂断
git config --global user.name "Your Name"
git config --global user.email [email protected]
Add your public key
接下来,我创建了一个名为'projectname'的项目目录并将其提交给远程Git服务器。
mkdir projectname
cd projectname
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin [email protected]:projectname/projectname.git
git push origin master
我的公钥已添加到github网站。
当我尝试提交我收到此错误信息:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
有什么建议? - 我正在使用Ruby on Rails
我已经尝试过,但由于某种原因,它不是我的目标努力:| – helloworld 2012-03-23 20:29:18