keskiviikko 15. toukokuuta 2013

Github

GitHub is a web-based hosting service for software development projects that use the Git revision control system.

I am still trying to get GitHub working with my Linux. 

Install git:
$ sudo apt-get install git
go to project folder
$ git init
$ git add .
$ git commit

Then create Github account https://github.com/
Generate SSH Keys and add to your account

Then it should be this easy but I can't figure out what is wrong

$ git remote add origin git@github.com:yourname/projectname.git
$ git push -u origin master

I get error repository not found. Blah. Help me ?

After that I tried with these:

$ git remote add origin ssh://tero@example.com/home/tero/thello.git 
$ git push origin master 
$ git branch --set-upstream master origin/master 
$ git pull && git push

 and I managed to push two files to my git repo !


Ei kommentteja:

Lähetä kommentti