2

Can someone show/point/help me to a resource for distributed development Git example or guide?

I'm a newbie and through I tried to google, I'm overwhelmed by the amount of information available.

My situation is that I have few developers around the globe and and ideally we don't have to deal with a central repository like Svn, but still have a central repository to track changes and publish diff to a blogspot account or something.

1
  • 1
    I found Pro Git to be a good resource too, progit.org Commented Aug 3, 2009 at 14:47

7 Answers 7

7

The resources listed at the official Git site's documentation section are actually quite good at covering the basics. See the links under the 'Tutorials' header especially.

Sign up to request clarification or add additional context in comments.

1 Comment

The gitworkflows man page may be exactly what he is looking for: kernel.org/pub/software/scm/git/docs/gitworkflows.html
3

If you ever used SVN, you can take a look at http://git.or.cz/course/svn.html.

Also, gittutorial might give a good start too.

If you are developing an open source project, take a look at http://github.com - that would provide a lot of useful features.

Comments

3

If you feel comfortable on the command line, I recommend John Wiegle's Git from the bottom up. It does a good job of showing the workings of git without teaching a "preferred" work flow.

Comments

2

GitHub is a free service you can use to host your repositories and they make it very easy to work between developers (in addition to other features such as wiki hosting). Also, they've got a great set of guides for getting started. I'd start there if I were you.

3 Comments

Ya, unfortunately it's a closed source, and we are trying to do without any paid service. So my goal is to see how we can make do without having a central repo.
I guess, this kind of model workflow is well documented in the docs already, but having tried that for a while, I want to know real world cases of how ppl make it work.
I would suggest looking at gitosis for hosting your central git repo. Then it is easy to publish your changes in case you're behind NATs. I myself host it on an Ubuntu 9.04 VM at RackspaceCloud.com. scie.nti.st/2007/11/14/… explains how to set it up easily.
2

My suggestion would be to pull down a copy of Git, make yourself a tiny dummy "project" (or take a small existing one and import its sources), and play around with it.

I found working with git so different from working with a centralized revision control system that I really had to do this to begin to wrap my mind around how it works and how it could be used for our developers.

Comments

1

Even if you don't want to end up using github for your specific project in the end, I've found github to be a simple way to get at the best practices of setting up git, because the setup stages are documented along the way in steps, e.g. create your github account > add your public key to the server > create a local repository and a starting commit > set up the remote repository as your origin > push to your new origin. For me, it made it simpler to use the site as a guide to the process until I was very familiar with the steps involved.

Gitorious.com may do that as well and have the added benefit (slight unless the featureset gets bigger than github) of being open source, I haven't really worked with that site enough to be sure.

Comments

0

In the cases, like yours, (developers around the globe), its obvious to use DVCS, rather that Centralized VC like SVN.

Get used to it, here is something to learn and like GIT. Get it

2 Comments

Judging from the original question, I'm fairly sure Seymour has already decided to use Git (or at least is strongly leaning towards it).
That's true, I'm already using it. Just not good enough and pretty we could do better.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.