From Fedora Project Wiki

< User:Pfrields‎ | Drafts

Revision as of 13:52, 12 July 2008 by Pfrields (talk | contribs) (New page: The distributed source code management system <code>git</code> has quickly become very popular in Linux. It is tremendously powerful, with features far outstripping those in CVS or Subver...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The distributed source code management system git has quickly become very popular in Linux. It is tremendously powerful, with features far outstripping those in CVS or Subversion (SVN). It can also be a little daunting for people who have either never used source code management, or are very used to the different (and relatively primitive) functionality in CVS and SVN.

This document explains how to get started, without involving aHowtoll the stuff you don't need to know.

Note.png
Required Skills
This tutorial assumes you are comfortable opening and using a terminal. If you aren't, you may not be ready to work on documents controlled through source code management. You can still participate by helping edit on this wiki -- refer to Help:Editing for more information.

Install Git Packages

The easiest way to install everything you might want or need for git is to get the git-all package. Use this command to do that:

su -c 'yum -y install git-all'

Set Global Configuration for Git

Git supports a ~/.gitconfig file that holds some of your global settings. You can edit this file by hand, or you can use the git-config program.