git noob : why does "git push origin master" fail to github ?

Posted by anjanb on Stack Overflow See other posts from Stack Overflow or by anjanb
Published on 2010-04-23T07:31:57Z Indexed on 2010/04/23 7:33 UTC
Read the original article Hit count: 226

Filed under:
|

hi there,

Here are the steps I took.

  1. I created a repository on github and
  2. generated a rails project on my windows vista home premium (which has msys git 1.7.0.2). 3)
  3. I then committed the generated files 4) g
  4. it remote add origin [email protected]:anjanb/Jobs2Go.git
  5. git push origin master

On the 5th step, I get the following error. "Permission denied (publickey). fatal: The remote end hung up unexpectedly"

I vaguely remember following some sshgen steps I took when I created my 1st github repository but I have forgotten what it was.

Can someone point me what I did wrong, what I need to do right.

Thank you,

© Stack Overflow or respective owner

Related posts about git

Related posts about github