V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
qiukun
V2EX  ›  分享发现

(Windows 7)Github 切换到 Bash Shell,打开 Shell 蓝屏。之后无法彻底删掉 Github。

  •  
  •   qiukun · 2012-06-22 12:20:50 +08:00 · 4031 次点击
    这是一个创建于 4535 天前的主题,其中的信息可能已经有所发展或是发生改变。
    同志们小心
    2 条回复    1970-01-01 08:00:00 +08:00
    xupefei
        1
    xupefei  
       2012-06-22 12:23:46 +08:00
    打开 Shell 倒是不蓝屏,不过没法卸载倒是真的…… GitHub 需要手动进目录删文件,GitHub下载回来的 git 命令行也需要手动删
    qiukun
        2
    qiukun  
    OP
       2012-06-23 06:24:02 +08:00
    // Please reply above this line
    ==================================================
    From: Phil Haack (GitHub Staff)
    Subject: How to uninstall Github for Win entirely?

    Hi Qykcdgm

    First, make sure to use the Program and Features control panel applet to uninstall GitHub for Windows.
    On Windows XP this is called "Add or Remove Programs".

    After uninstalling GitHub for Windows, there might be some files left behind on the system. GitHub for Windows uses ClickOnce as its installer and ClickOnce doesn't fully clean up after itself.

    For the most part, these files are harmless. If you are really concerned about them, you can delete the following files:

    1. The `GitHub` and `Git Shell` shortcuts
    2. The `GitHub` folder in the Local and Roaming app data directories:
    * On `Windows Vista` or higher, this will be the `%LocalAppData%\GitHub` and the `%AppData%\GitHub` directories.
    * On `Windows XP` this will be the `%USERPROFILE%\Local Settings\Application Data\GitHub` directory. Note that this path may be in a different language if you're using a non-English version of Windows.

    There will still be some files left in the ClickOnce Application Cache. You can run the following command to clear the application cache. Note, this clears the cache for _all_ ClickOnce applications.

    1. Hold down the `Windows` key and type `R`.
    2. Type in `rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache` in the run dialog and hit `Enter`.

    Running the command might not clear every file. If you want to be absolutely thorough, you can delete the ClickOnce Application folder.

    * On `Windows Vista` or higher, this will be the `%LocalAppData%\Apps\2.0` directory.
    * On `Windows XP` this will be the `%USERPROFILE%\Local Settings\Apps\2.0` directory. Note that this path may be in a different language if you're using a non-English version of Windows.

    Lastly, there will be one registry key you'll need to delete:

    HKEY_CURRENT_USER\Software\Classes\github-windows

    This is the protocol handler that makes the "Clone in Windows" button on GitHub.com launch the application.

    Phil
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   993 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 19:50 · PVG 03:50 · LAX 11:50 · JFK 14:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.