Tortoise Git:执行git push时无法生成错误

问题描述 投票:1回答:1

Tortoise Git不允许我推送我的代码。

git.exe push --progress "origin" <<branch_name>>

它低于错误

error: cannot spawn C:\Program Files (x86)\TortoiseGit\bin\TortoiseGitPlink.exe: No such file or directory
fatal: unable to fork

Tortoise git也不允许克隆代码,所以我使用git bash而且它有效。

我不确定,对于Tortoise GIT需要纠正什么,因为PUSH和Clone命令适用于GIT Bash。无能:(

请帮忙

git tortoisegit
1个回答
1
投票

作为mentioned here,检查你的:

  • GIT_SSH环境变量(在Windows中):如果它有引号,则删除这些引号
  • Settings->Network(在TortoiseGit中):更新您的SSH客户端路径到TortoiseGitPlink.exe的路径,没有引号

正如OP Gendaful确认in the comments

我的问题是在同一条线上。

它没有双引号中的TortoiseGitPlink.exe路径,但是:

  • 乌龟git安装为TortoiseGit_2.5.2和
  • 该路径的引用为“TortoiseGit”

这使得TortoiseGitPlink.exe无法到达。 纠正了路径并开始工作。

最新问题
© www.soinside.com 2019 - 2024. All rights reserved.