tags:

views:

247

answers:

1

Hi,

i have followed this instructions below to upload a project.

Global setup:

 Download and install Git
  git config --global user.name "Your Name"
  git config --global user.email [email protected]
  Add your public key


Next steps:

  mkdir tirengarfio
  cd tirengarfio
  git init
  touch README
  git add README
  git commit -m 'first commit'
  git remote add origin [email protected]:tirengarfio/tirengarfio.git
  git push origin master

but i get this error:

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

Any idea?

Javi

A: 

I had to add my public key to github. http://help.github.com/linux-key-setup/