:: What is Git
Git is distributed version control system focused on speed, effectivity and real-world usability on large projects. – git-scm –
:: How to Install Git on Linux Debian
o Download Git source code
# cd /usr/local/src # wget //kernel.org/pub/software/scm/git/git-1.7.5.4.tar.bz2 # cd /usr/local/src/ # tar -xjf git-1.7.5.4.tar.bz2
o Create configure file of Git
# cd git-1.7.5.4/ # make configure
if you get error like:
/bin/sh: curl-config: not found make: `configure' is up to date.you can fix the error using this:
# aptitude install libcurl3-gnutls-dev libcurl3-openssl-dev
o Compiling Git
# ./configure --prefix=/usr # make all # make install
if you want to install with documentation, you can compiling Git using this:
# make all doc # make install install-doc install-html
:: Checking and testing Git
$ git --version git version 1.7.5.4 $ git clone git://git.kernel.org/pub/scm/git/git.git