gitolite - 拉不工作 - TortoiseGIT/Windows 7/Debian + gitolite 上的 GIT

标签 gitolite tortoisegit git-pull

我有一个奇怪的问题。我使用 TortoiseGIT (Win7) 并且我的存储库放置在虚拟服务器 (Debian) 上,我使用 gitolite 和 SSH key 。

我可以 clone存储库到我的 PC,我可以运行 Fetch , Push , Commit , Sync .. 一切,但在尝试时 Pull来自服务器的更改 Pushed由其他贡献者,出现以下错误:

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)

我不明白,为什么只是 pull命令不起作用..感谢您的帮助。

我可以使用贡献的更改克隆存储库 .. 但不能 Pull在我的 PC 上创建的存储库的更改。

最佳答案

错误消息与 Git 非常相关,来自 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?");

这类似于 issue 40 (另一个 GUI,这里是 terminal-ide )。

在那种情况下,这是由于远程 Git 安装造成的,即 不完整

( Comments 3 of issue 19 )

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


$> ln -s git git-merge

in system/bin/



分辨率可能与您的情况不完全相同,但可能与 Git 安装错误有关。

关于gitolite - 拉不工作 - TortoiseGIT/Windows 7/Debian + gitolite 上的 GIT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10253395/

相关文章:

git - Git Pull 和 Git Push 之间的死锁

git - 移动 gitolite 服务器

windows - 系统准备服务器后 Git 远程不工作

r - 运行 git pull 后如何解决错误 bad object refs/heads/main (1)

Git 推送在 Git Bash 中有效,但在 SmartGit 或 TortoiseGit 中无效

windows - 使用 git 和 tortoisegit 在 Windows XP 上验证失败

git - "git pull --rebase"导致 "Cannot rebase onto multiple branches"

克隆 repo 时的 Gitlab/Gitolite 问题

Gitolite 一个用户 - 许多键 - 不同的用户名

google-chrome - 谷歌浏览器声称 TortoiseGit 和 TortoiseSVN 是不兼容的应用程序