Thursday, February 9, 2012

Git Installation in Ubuntu

Git is an open source version control system. It is designed to handle from small to very large projects with speed and efficiency.

Fig: Data flows and storage levels in Git


First install all the dependent packages

sudo aptitude build-dep git-core

Now download git-1.7.1.tar.gz

Now extract the file

sudo tar -xvzf git-1.7.1.tar.gz

If you download git-1.7.3.tar.bz2, then extract like this

sudo tar -xvjf git-1.7.3.tar.bz2

Now change the directory

cd git-1.7.x/

Run the following commands

./configure
make
sudo make install

Now check the version whether the git is properly installed-

git --version

Git tutorial - http://schacon.github.com/git/gittutorial.html

User manual of Git -
http://schacon.github.com/git/user-manual.html#repositories-and-branches

No comments:

Post a Comment