You are not logged in.

#1 2008-12-30 23:05:39

cameron122000
Member
Registered: 2008-03-02
Posts: 30

Want To Setup Version Control

So I'm wanting to setup a version control system, but am unsure of where to start. I tried to fiddle with Git, but I was unsuccessful. I had followed the instructions to push my Git commit to my Git server, but it didn't seem like it had worked. So, I'm here asking if there is something easier. It doesn't need to be able to handle many people, just like 4-5 people. Are there any suggestions on either how to get Git to work, or another VCS that will be a little easier for me to work with?

Offline

#2 2008-12-31 02:18:04

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Want To Setup Version Control

Never used got, but what about subversion? There's ever a free PDF book on using it.


Matt

"It is very difficult to educate the educated."

Offline

#3 2008-12-31 03:37:47

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: Want To Setup Version Control

Have you tried creating a local repo with git?

Also, it depends on the kind of version control system you want, distributed or centralized.
If distributed, actually mercurial (another DVCS) command line are easier to remember...

Offline

#4 2008-12-31 03:50:31

valnour
Member
From: Cleveland, TN, USA
Registered: 2008-02-17
Posts: 84
Website

Re: Want To Setup Version Control

I recently began playing with Git and it is the first version control
system that I have used. I thought that it was really simple to set up
and use. What were the exact problems you were experiencing? What
steps did you take to set up your repo? Maybe with this information,
and anything else you can provide we can get you rolling with Git.

Offline

#5 2008-12-31 20:50:57

cameron122000
Member
Registered: 2008-03-02
Posts: 30

Re: Want To Setup Version Control

valnour wrote:

I recently began playing with Git and it is the first version control
system that I have used. I thought that it was really simple to set up
and use. What were the exact problems you were experiencing? What
steps did you take to set up your repo? Maybe with this information,
and anything else you can provide we can get you rolling with Git.

Okay, well I want put my Home directory into version control, as well as a few side projects I'm working on. It's not going to be for many people, just a couple. I installed Git onto my fileserver and created a directory at /home/git/home.git. Then I used this command:

git --bare init

in the home.git directory I had created. Then I went to my home directory on my computer and added the remote host thing using this:

git remote add origin ssh://server.com/home/git/home.git

After I did that, I did:

git push origin master

Am I missing something?

Offline

#6 2008-12-31 22:27:31

valnour
Member
From: Cleveland, TN, USA
Registered: 2008-02-17
Posts: 84
Website

Re: Want To Setup Version Control

Well, if I understand correctly, you still need to initialize git in
your local home directory, then make at least one commit before you can
push to the remote host.

http://www.spheredev.org/wiki/Git_for_the_lazy

It sounds like you are already somewhat familiar with git, but that link might
provide you with a bit more information.

Offline

Board footer

Powered by FluxBB