Git: Git With It!

August 26th, 2009 by Jon Eichler   |   1 Comment


We got with it, and installed Git on all servers now.

Just let us know if you have any questions regarding it and you should be able to use it now via command line!

One Response

  1. vinay on 15 Sep 2010

    Although git is installed on shared servers, users cant use it to host remote repo. So everytime i use a git push, I was getting the following error

    git: ‘index-pack’ is not a git-command. See ‘git –help’.
    Writing objects: 100% (302/302), 1.96 MiB, done.
    Total 302 (delta 140), reused 0 (delta 0)
    error: index-pack exited with error code 1
    error: unpack failed: index-pack abnormal exit
    To ssh://thelionk@112.140.185.201:1122/home/thelionk/lionking.git
    ! [remote rejected] master -> master (n/a (unpacker error))
    error: failed to push some refs to ‘ssh://thelionk@112.140.185.201:1122/home/thelionk/lionking.git’

    The error actually says that git cannot find git-index-pack executable. I searched the whole server for git-index-pack and could not find it. So basically what i did was download git on to my server and set GIT_EXEC_PATH. Following code will help

    http://pastie.org/1160176

    You can also check your Git Executable Path using

    git –exec-path


Leave your comment