Skip to content

Instantly share code, notes, and snippets.

@qmx
Created January 7, 2010 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qmx/271379 to your computer and use it in GitHub Desktop.
Save qmx/271379 to your computer and use it in GitHub Desktop.
# instalando bibliotecas necessárias para compilar
sudo apt-get install build-essential libssl-dev zlib1g-dev libcurl4-openssl-dev libexpat-dev tk8.5-dev
# baixando o git atual
wget http://kernel.org/pub/software/scm/git/git-1.6.6.tar.bz2
#descompacta
tar -jxvf git-1.6.6.tar.bz2
cd git-1.6.6
#compila
make prefix=/usr/local
#instala
sudo make prefix=/usr/local install
# se for máquina nova
# se commitar sem isso, vai aparecer como unknown user
git config --global user.name John Doe
git config --global user.email jdoe@cox.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment