Doesn't Work - TortoiseGIT / Windows 7 / GIT on Debian + gitolite

I have a strange problem. Im using TortoiseGIT (Win7) and my repositories is hosted on a vritual server (Debian), where im uses the gitolite and SSH keys.

I can clone repository to my PC, I can run Fetch , Push , Commit , Sync .. everything, but when I try to Pull changes from the Pushed server by another 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 repository clone with the changes .. but I cannot Pull make changes to the created repository on my PC.

+8
git-pull tortoisegit gitolite
source share
4 answers

The error message is very strongly related 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?"); 

This is similar to issue 40 (from a different GUI here is terminal-ide ).

In this case, this was due to a remote installation of Git, which was incomplete

( Comments 3 from number 19 )

git -merge was also missing during installation, can be fixed using

 $> ln -s git git-merge 

in system/bin/

In your case, the resolution may not be the same, but it may be due to a malfunctioning Git installation.

+1
source share

I ran into the same problem after changing the sh.exe git Bash executable, which always starts as an administrator (to get around another problem). Then he left git unable to access it in certain scenarios and called different "Maybe git - *"? mistakes. Maybe this might help someone ...

+13
source share

Removing the old Git and reinstalling the latest build fixed this problem for me.

Here is a link to installers. Link for installing installers.

My exact error message was

 C:\Program Files (x86)\Git/libexec/git-core\git-pull: line 304: exec: git-merge: not found fatal: 'pull' appears to be a git command, but we were not able to execute it. Maybe git-pull is broken? 
+2
source share

I see that you can run "git fetch". If you can also run git merge, starting the git fetch sequence followed by git merge will do the same thing as git pull.

Source: http://git-scm.com/docs/git-pull

0
source share

All Articles