Archives

Install Git on CentOS

First you need to install any dependencies:

yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel

Then get the source code for Git

wget http://kernel.org/pub/software/scm/git/git-1.7.2.2.tar.gz

Extract the tarball

tar -zvxf git-1.7.2.2.tar.gz

Install to usr/local

cd git-1.7.2.2.tar.gz
make prefix=/usr/local all
make prefix=/usr/local install

Test it out

cd ~/
git --version

Tagged ,

Use Git Hooks to Push to Live Site

There are too few tools and docs for Git, but the few that exist are awesome. Many developers take the easy and quick approach to working with git by setting up an account with Github and then using tools like gitx to visually manage and track their repos. While I do love this approach for many reasons, there are many reasons to setup your own git hosting and tracking…

Read more »

Tagged , , ,