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.
As a command-line git client is required for using TortoiseGit, you have to install both. The recommended order is to install TortoiseGit first. Just download the setup package for your system and install it.
Go to the TortoiseGit website and download the installation package for 32-bit or 64-bit Windows. Double-click the installation package. In the window displayed, click Next for several times and then click Install to complete the installation. Click Finish to run the tool.
TortoiseGit is a Git revision control client, implemented as a Windows shell extension and based on TortoiseSVN. It is free software released under the GNU General Public License.
Fetch just downloads the objects and refs from a remote repository and normally updates the remote tracking branches. Pull, however, will not only download the changes, but also merges them - it is the combination of fetch and merge (cf. the section called “Merging”).
I encountered this same issue after changing the git Bash executable sh.exe to be always run as administrator (to get round another problem). It then left git unable to access it under certain scenarios and caused various "Maybe git-* is broken?" errors. Perhaps this might help someone...
Uninstalling old Git and reinstalling the latest build fixed this issue for me.
Here's a link to the installers Link to get 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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With