You are not logged in.

#1 2010-05-21 20:02:03

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

[solved] creating a github repo

Hi,

i recently created my first github repository and just now wanted to create a second one.
These are the steps i used:
cd project
git init
git add .
git commit -m "first commit"
git remote add origin git@github.com:username/project.git
git push origin master

This is what i get.

 > git push origin master
Enter passphrase for key '/home/demian/.ssh/id_rsa': 
ERROR: user/project doesn't exist yet. Did you enter it correctly?
fatal: The remote end hung up unexpectedly

Obviously the repo didn't get created on the github server. But i don't know why and how i can create one. I can't ssh into the server because github doesn't support it.
Could you help me out please?

Last edited by demian (2010-05-21 20:15:17)


no place like /home
github

Offline

#2 2010-05-21 20:05:17

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: [solved] creating a github repo

You must create the project on the github website as well; then pushing will work as expected.  Look for a link that says "Create Project" or "New Project", etc.

Last edited by thayer (2010-05-21 20:05:46)


thayer williams ~ cinderwick.ca

Offline

#3 2010-05-21 20:09:34

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: [solved] creating a github repo

oh my. i had already looked everywhere on the site for that option.
thanks to your suggestion i looked again and found it just now.
i guess i didn't see it before because it was crossed out. stupid selective perception.

Last edited by demian (2010-05-21 20:10:10)


no place like /home
github

Offline

Board footer

Powered by FluxBB