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.

  • git multiple subject prefix with format-patch
  • Create custom GitLab API
  • Git Push Error | Bitbucket Repository
  • Git edits in one branch are causing edits in another branch without merge/push/pull
  • Using Github on Windows
  • GIT how to handle Untracked files message?
  • 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.

  • Git : fatal: Ambiguous object name: 'origin/release_2.6'
  • A little git trouble
  • Attaching a binary to a Git tag
  • How can I authenticate to our TFS server in my Git for Windows client?
  • How do I know local repository is behind the origin and FF is possible in TortoiseGit?
  • What is the purpose of “git push -u” command?
  • 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.