Search code examples
gitolitetortoisegitgit-pull

Pull not working - TortoiseGIT / Windows 7 / GIT on Debian + gitolite


i have a weird issue. Im using TortoiseGIT (Win7) and my repositories are placed on a vritual server (Debian), where im using gitolite and SSH keys.

I can clone the repository to my PC, i can run Fetch, Push, Commit, Sync .. everything, but when trying to Pull the changes from server Pushed by other contributor, the following error appears:

git.exe pull -v --progress      "origin"
fatal: 'pull' appears to be a git command, but we were not
able to execute it. Maybe git-pull is broken?
git did not exit cleanly (exit code 128)

I don't understand, why just the pull command is not working .. thanks for any help.

I can make a clone of the repository, with the contributed changes .. but can not Pull the changes to created repository on my PC.


Solution

  • The error message is very much linked to Git, and comes from help.c:

    static const char bad_interpreter_advice[] =
      N_("'%s' appears to be a git command, but we were not\n"
      "able to execute it. Maybe git-%s is broken?");
    

    That is similar to issue 40 (of another GUI, here terminal-ide).

    In that case, it was due to the remote Git installation, which was incomplete

    (Comments 3 of issue 19)

    git-merge was also missing from install, can be fixed with

    $> ln -s git git-merge
    

    in system/bin/

    The resolution might not be exactly the same in your case, but it could be related to a faulty Git installation.