Git for beginners: The definitive practical guide

Posted by Adam Davis on Stack Overflow See other posts from Stack Overflow or by Adam Davis
Published on 2008-11-24T23:50:29Z Indexed on 2010/03/15 3:09 UTC
Read the original article Hit count: 1013

Ok, after seeing this post by PJ Hyett, I have decided to skip to the end and go with git.

So what I need is a beginners practical guide to git. "Beginner" being defined as someone who knows how to handle their compiler, understands to some level what a makefile is, and has touched source control without understanding it very well.

"Practical" being defined as this person doesn't want to get into great detail regarding what git is doing in the background, and doesn't even care (or know) that it's distributed. Your answers might hint at the possibilities, but try to aim for the beginner that wants to keep a 'main' repository on a 'server' which is backed up and secure, and treat their local repository as merely a 'client' resource.

Procedural note: PLEASE pick one and only one of the below topics and answer it clearly and concisely in any given answer. Don't try to jam a bunch of information into one answer. Don't just link to other resources - cut and paste with attribution if copyright allows, otherwise learn it and explain it in your own words (ie, don't make people leave this page to learn a task). Please comment on, or edit, an already existing answer unless your explanation is very different and you think the community is better served with a different explanation rather than altering the existing explanation.

So:

Installation/Setup

Working with the code

Tagging, branching, releases, baselines

Other

Other git beginner's references

Delving into git

I will go through the entries from time to time and 'tidy' them up so they have a consistent look/feel and it's easy to scan the list - feel free to follow a simple "header - brief explanation - list of instructions - gotchas and extra info" template. I'll also link to the entries from the bullet list above so it's easy to find them later.

© Stack Overflow or respective owner

Related posts about git

Related posts about version-control