ScoopInstaller_Main/scripts/git/uninstall-file-associations.reg
Stephen 92e43b179b
git@2.39.2.windows.1: Add .reg scripts (#4462) (#4538)
Changes:
- Adds two .reg scripts:
  1. install-context.reg
     adds context-menu entries for 'Git GUI Here' and 'Git Bash Here'
  2. install-file-associations.reg
     associates .git* files as plain-text, and associates .sh with Bash

Notes:
- Closes: #4462
- The file-naming convention and post-install script were based on the
  `7zip.json`, `vim.json` and `pwsh.json` manifest files.
- The registry keys set by the .reg files are identical to those set by
  `[install.iss][1]` in the `[git-for-windows/build-extra][2]` repo.

[1]: <https://github.com/git-for-windows/build-extra/blobl/main/installer/install.iss>
[2]: <https://github.com/git-for-windows/build-extra>
2023-03-12 12:42:06 +05:30

20 lines
939 B
Reg

Windows Registry Editor Version 5.00
; -----------------------------------------------------------------------------
; undo: associate .git* configuration files with the default text editor
; -----------------------------------------------------------------------------
[-HKEY_CURRENT_USER\Software\Classes\.gitattributes]
[-HKEY_CURRENT_USER\Software\Classes\.gitignore]
[-HKEY_CURRENT_USER\Software\Classes\.gitmodules]
; -----------------------------------------------------------------------------
; undo: associate '.sh' files to be run with git bash
; -----------------------------------------------------------------------------
[-HKEY_CURRENT_USER\Software\Classes\.sh]
[-HKEY_CURRENT_USER\Software\Classes\sh_auto_file]
[-HKEY_CURRENT_USER\Software\Classes\sh_auto_file\DefaultIcon]
[-HKEY_CURRENT_USER\Software\Classes\sh_auto_file\shell\open\command]
[-HKEY_CURRENT_USER\Software\Classes\sh_auto_file\ShellEx\DropHandler]