YF-GoogleCodeBackups / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

命令行上传问题-PUSH不到Heroku #368

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
有两个问题

1.想在Heroku上传nodejs-c4,在最后一步git push heroku 
master,总是出现如下情况:
*:\nodejs-c4>git push heroku master
Warning: Permanently added the RSA host key for IP address '50.19.85.154' to the
 list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

2.还有git commit -m "init"命令总是报错:
*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got '*******@*******-PC.(none)')

Original issue reported on code.google.com by sonicso...@gmail.com on 20 Feb 2013 at 8:07

GoogleCodeExporter commented 8 years ago
执行heroku keys:add

Original comment by yinqiwen@gmail.com on 20 Feb 2013 at 9:19

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
执行上述heroku keys:add后没有以前的错误了,但是git 
commit问题依旧还出现新的问题如下:

*:\nodejs-c4>git push heroku master
error: src refspec master does not match any.
error: failed to push some refs to 'git@heroku.com:*****-*****-****.git'

Original comment by sonicso...@gmail.com on 20 Feb 2013 at 4:51

GoogleCodeExporter commented 8 years ago
你照着wiki或者heroku 
site上的文档的步骤执行看看。这个是其中少了一步

Original comment by yinqiwen@gmail.com on 21 Feb 2013 at 1:05

GoogleCodeExporter commented 8 years ago
使用windows下的GIT 
GUI软件上传,很容易的。使用代码行总会有点问题。我的错��
�和你差不多。

Original comment by pizzabad...@gmail.com on 25 Mar 2013 at 5:10

GoogleCodeExporter commented 8 years ago
请教下楼上的朋友是如何用GUI上传的?我用GUI上传还是和命��
�行一样的错误。
我是参考http://hi.baidu.com/lettoo/item/666ee80ff2727a8802ce1b90的。
是不是先要github注册帐号,然后才能进行提交,再生成公钥��
�钥上传更新,最后才能上传?

Original comment by mj198...@gmail.com on 11 May 2013 at 7:20

GoogleCodeExporter commented 8 years ago
用命令行模式上传成功了,直接复制了提交中的两行代码。

Original comment by mj198...@gmail.com on 11 May 2013 at 3:22