You are not logged in.

#1 2009-07-30 17:25:34

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

[Solved] GIT, github.com questions.

Hello.
For some time I'm searching for good place for backup my projects and configs and I found github.com.i
I see some peapole here use github.com to backup/share their configs/projects.
And here is my question:
Is github free (I can use it without pay for it?).
And what's gonna be when I upload my projects/configs on github.com and lost data I can get it from Github.com?

Last edited by SpeedVin (2009-07-30 18:15:36)


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#2 2009-07-30 18:00:05

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: [Solved] GIT, github.com questions.

yes and yes


.:[My Blog] || [My GitHub]:.

Offline

#3 2009-07-30 18:00:05

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: [Solved] GIT, github.com questions.

Nothing you cant get answer by going to github.com...but still

1) Yes. It is free if you don't need privacy and more space(> 300mb)
2) if you have hosted it on github.. then yes .. you can get it back.


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#4 2009-07-30 18:15:11

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] GIT, github.com questions.

Ok thank you both now I will play with Git.
Thanks!


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#5 2009-07-30 20:20:51

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] GIT, github.com questions.

Hello again I try git it's friend;ly but I have a problem with it ;| .
I fallow guide on www.github.com to create new repo when I want to:

git push origin master

I see an error:

fatal: The remote end hung up unexpectedly

And I can't create a repo.
Thanks for any help wink

Last edited by SpeedVin (2009-07-31 06:39:34)


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#6 2009-07-31 07:36:13

csstaub
Member
From: Switzerland
Registered: 2009-02-09
Posts: 37

Re: [Solved] GIT, github.com questions.

Did you follow the instructions on github.com correctly? If I remember correctly
you have to give them a public SSH key to get access to the servers. Also, to
create a new repo you should use the command git init. The push command
pushes an already existing repo to the server. That only works if you already
have a repo both locally and on github.com and told git where to find the remote repo.

Last edited by csstaub (2009-07-31 07:38:36)

Offline

#7 2009-07-31 08:22:45

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] GIT, github.com questions.

csstaub wrote:

Did you follow the instructions on github.com correctly? If I remember correctly
you have to give them a public SSH key to get access to the servers. Also, to
create a new repo you should use the command git init. The push command
pushes an already existing repo to the server. That only works if you already
have a repo both locally and on github.com and told git where to find the remote repo.

Yes and I want to create repo.
We have progress I have Public key and when I want push my repo to github.com I got error:

To git@github.com:SpeedVin/Simple.git
 ! [rejected]        master -> master (non-fast forward)
error: failed to push some refs to 'git@github.com:SpeedVin/Simple.git'

Thanks for advice wink
Solved I created new repo wink

Last edited by SpeedVin (2009-08-04 10:40:50)


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

Board footer

Powered by FluxBB