This is an old revision of the document!
Overview
How to clone, build and install Git as a non-root user.
The recipe
$ git clone https://github.com/git/git.git ... $ make $ make install
The end results
All installed under your home directory:
- bin/
- git
- git-cvsserver
- gitk
- git-receive-pack
- git-shell
- git-upload-archive
- git-upload-pack
- libexec/
- git-core/
- … LOTS here …
- share/
- git-core/
- templates/
- git-gui/
- gitk/
- gitweb/
Finally:
PATH=~/bin:$PATH
and away you go.