Skip to content

Instantly share code, notes, and snippets.

@tekkub
Created March 25, 2010 05:26
Show Gist options
  • Select an option

  • Save tekkub/343219 to your computer and use it in GitHub Desktop.

Select an option

Save tekkub/343219 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
if [ ! -d git ]; then
git clone git://git.kernel.org/pub/scm/git/git.git
fi
cd git
make quick-install-html
cd /usr/local/git/share/
if [ ! -d doc ]; then
sudo mkdir doc
fi
cd doc/
sudo rm -rf *
sudo mv ~/share/doc/git-doc .
git config --global help.format web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment