// 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