docs:mac:builds:git

This is an old revision of the document!


git

  • download source from http://git-scm.com/
  • You can find all the documentation bundled with the Git source code in the Documentation subdirectory (the web version corresponds to the latest Git development version).
  • the default git build procedure will not build the documentation (man, html, etc…)
  • don't bother trying to do it on Mac OS X because the proper files aren't available and it is cumbersome
  • instead, install git as listed above, then use git to clone the latest git repo:
    git clone git://git.kernel.org/pub/scm/git/git.git
  • cd into this git directory, and install man pages:
    sudo make prefix=/usr/local quick-install-man
  • git will install man pages to /usr/local/share/man with this, so make sure your ~/.profile has a proper MANPATH configured:
    MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man
    export MANPATH
  • you should now have proper man pages; try it with
    git help status
  • docs/mac/builds/git.1258347118.txt.gz
  • Last modified: 2009/11/15 21:51
  • by billh