How do I remove msysgit's right click menu options?

前端 未结 8 903

This isn\'t the best programming question but lets face it, the server fault guys aren\'t well versed in git, so I think its more towards this audience.

I want to sw

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-12 08:51

    To add to what dfkt said, there's one more location that has it, for the Library Folders:

    HKEY_USERS\S-1-5-21-2901758233-4091616725-3820123586-1012\Software\Classes\LibraryFolder\background\shell\git_gui
    HKEY_USERS\S-1-5-21-2901758233-4091616725-3820123586-1012\Software\Classes\LibraryFolder\background\shell\git_shell
    

    That specific number between HKEY_USERS and Software probably varies from person to person, and account to account, so make sure it's right for you.

    So, the modified, complete registry removal would be:

    Windows Registry Editor Version 5.00
    
    [-HKEY_CLASSES_ROOT\Directory\background\shell\git_gui]
    
    [-HKEY_CLASSES_ROOT\Directory\background\shell\git_shell]
    
    [-HKEY_CLASSES_ROOT\Directory\Shell\git_gui]
    
    [-HKEY_CLASSES_ROOT\Directory\Shell\git_shell]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_gui]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_shell]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\git_gui]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\git_shell]
    
    [-HKEY_USERS\S-1-5-21-2901758233-4091616725-3820123586-1012\Software\Classes\LibraryFolder\background\shell\git_gui]
    
    [-HKEY_USERS\S-1-5-21-2901758233-4091616725-3820123586-1012\Software\Classes\LibraryFolder\background\shell\git_shell]
    

提交回复
热议问题