Install Git Client on OS X without admin rights

I need to run a git client on an OS X 10.6.6 machine to which I don’t have admin rights.

Now unfortunately, the installer from http://code.google.com/p/git-osx-installer/ has no option for a local install, so it just doesn’t work without having an admin account.

  • Jenkins plus Git on same server
  • What's the git command to pull in all changes from a remote repo?
  • How to get list of latest tags in remote git?
  • Easiest way to replay commits on new git repository
  • wso2-emm app management version bug
  • Combine multiple orphan branches into one branch
  • What is the fastest / easiest way to install git, e.g. in ~/bin ?

    Note: While I can download zip archives from GitHub (from which my projects come), I need to be able to quickly pull new commits, so this is not an option.

    Fink has no binary for OS X 10.6, and the MacPorts installer doesn’t work either without admin rights.

  • Highlighting added/deleted lines, ignoring moves, in a patch file
  • Git shortcut to pull with clone if no local there yet?
  • How to set master feature branch as default in Teamcity 9.1
  • Why is Git overwriting files on server after deploying?
  • Git rebase master and multiple branches
  • Remove directory from a Git repository, and from history, without deleting it from the local filesystem
  • 2 Solutions collect form web for “Install Git Client on OS X without admin rights”

    Download Git source code and compile.

    ./configure --prefix=$HOME/local
    make
    make install
    

    Edit .bashrc or whatever to change PATH.

    PATH=$HOME/local/bin:$PATH
    

    I’d use homebrew to install git as a local user. That’s a whole lot easier to update and gives you the chance to use the whole infrastructure to install even more goodies.

    https://github.com/mxcl/homebrew

    Git Baby is a git and github fan, let's start git clone.