这里有一点背景:
- 我运行Win7
- 我有私人 git repo 并安装了 Github for Windows
- 我不喜欢 Github for Windows 客户端(缺乏功能)。我为 Windows 安装了 TortoiseGit(仍然保留 Github for Windows)
- 我完全按照这里的步骤http://dancingmonkeysaccelerated.blogspot.com/2012/03/git-for-windows-with-tortoisegit-and.html
- 我可以获取日志并在本地提交
- 然后我推
- 但是它给出了错误
git did not exit cleanly (exit code 128)
我读了这个线程:
如何解决 TortoiseGit 上的“git 没有完全退出(退出代码 128)”错误?
实际上已经通过运行 Puttygen 三次来更改 SSH 密钥。我还在文件夹中为用户设置了完全权限。没有任何效果!!
这是我在环境路径中看到的
PATH=(其他);C:\Users\myusername\AppData\Local\GitHub\PortableGit_93e8418133eb85e81a81e5e19c272776524496c6\libexec\git-core;
GIT_SSH=C:\Program Files\TortoiseGit\bin\TortoiseGitPLink.exe
SVN_SSH=C:\Program Files\TortoiseGit\bin\TortoiseGitPLink.exe
SSH_ASKPASS=C:\Program Files\TortoiseGit\bin\SshAskPass.exe
GIT_ASKPASS=C:\Program Files\TortoiseGit\bin\SshAskPass.exe
但是:如果我使用Github for Windows
它可以正常工作。
有人可以指出解决这个 TortoiseGit 问题的方向吗?