Git VCS Reference

September 25, 2009

Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Install Git

sudo apt-get install git-core gitweb

Create Central Repository

mkdir git
cd git
mkdir project.git
cd project.git
git --bare init
vim ./description

Create Development Repository

mkdir project
cd project
git init
git status
vim .gitignore
git add .
git commit -a -m "initial commit"
git remote add origin user@host:git/project.git

Initial Push

git push origin master