1. Adam Dutko
  2. Portfolio

Source

Portfolio / hacktuts / git / install.v0 / install.txt

1) Install Git
  cd /sw/downloads
  wget http://kernel.org/pub/software/scm/git/git-1.6.2.tar.bz2
  tar -xjf git-1.6.2.tar.bz2
  cd git-1.6.2
  ./configure --prefix=/opt/git --with-curl --with-openssl
  make
  make install

2) Update PATH
  Modify the /etc/profile PATH information and add /opt/git/bin and /opt/git/libexec/git-core
  Logout and back into the machine.

3) Make a location for repositories
  mkdir /opt/git/repos

4) Run the git daemon against the repo
  git-daemon /opt/git/repos&

5) Create a new repository for yourself
  mkdir -p ~/git/networking-configs
  cd ~/git/networking-configs
  git init

6) Do some work

7) Commit
   git -a -m "Some work."

8) Copy repository to /opt/git/repos

9) Test cloning through git
   
   git clone git://hlplin04/networking-configs

10) All done!