TortoiseGit麻烦:git没有干净地退出(退出代码128) [英] TortoiseGit trouble: git did not exit cleanly (exit code 128)

查看:2453
本文介绍了TortoiseGit麻烦:git没有干净地退出(退出代码128)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里有一点点背景:


  1. 我运行Win7

  2. 我拥有私有的git repo,并安装了Github for Windows

  3. 我不喜欢Windows客户端的Github(缺少功能)。我为Windows安装了TortoiseGit(仍保留Github for Windows)

  4. 我遵循以下步骤:



    实际上已经通过运行Puttygen THREE TIMES更改了SSH密钥。我还为该文件夹中的用户设置了完全权限。没有任何工作!!



    以下是我在环境路径中看到的内容:
    $ b


    PATH =(others); C:\Users\myusername\AppData\Local\GitHub\PortableGit_93e8418133eb85e81a81e5e19c272776524496c6\libexec\git-core;

    GIT_SSH = C:\程序文件\TortoiseGit\bin\TortoiseGitPLink.exe



    SVN_SSH = C:\程序文件\TortoiseGit\bin\TortoiseGitPLink .exe

    SSH_ASKPASS = C:\程序文件\TortoiseGit\bin\SshAskPass.exe

    GIT_ASKPASS = C:\ Program Files \TortoiseGit\bin\SshAskPass.exe

    但是:如果我使用 Github for Windows 它可以正常工作。



    有人可以指示我解决这个TortoiseGit问题的方向吗?

    解决方案

    我想我找到了更好的Windows替代方法: http://www.syntevo.com/smartgithg/index.html

    到目前为止它一直在运作。但是如果我可以使用TortoiseGit,我还是比较喜欢的。


    Here is a little bit background:

    1. I run Win7
    2. I have private git repo and installed Github for Windows
    3. I didn't like the Github for Windows client (lack capabilities). I installed TortoiseGit for Windows (still keep Github for Windows)
    4. I followed steps here exactly http://dancingmonkeysaccelerated.blogspot.com/2012/03/git-for-windows-with-tortoisegit-and.html
    5. I can get log and commit local

    1. Then I Push

    1. However it gave error git did not exit cleanly (exit code 128)

    I read this thread:

    How to resolve "git did not exit cleanly (exit code 128)" error on TortoiseGit?

    And actually changed SSH key by running Puttygen THREE TIMES already. I also set Full Permission for Users in the folder. Nothing works!!

    Here is what I see in Environment Path

    PATH=(others);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

    However: if I use Github for Windows it works fine.

    Can someone point me to a direction to troubleshoot this TortoiseGit issue?

    解决方案

    I think I found a better alternative for Windows: http://www.syntevo.com/smartgithg/index.html

    It's been working so far. But I still prefer TortoiseGit if I can get it to work.

    这篇关于TortoiseGit麻烦:git没有干净地退出(退出代码128)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆