-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGitHere.reg
48 lines (33 loc) · 1.64 KB
/
GitHere.reg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Windows Registry Editor Version 5.00
; WARNING: before run replace PATH_TO_APP with correct value
; Example: C:\\Git
;%%%%%%%%%%%%%%%% Git Bash %%%%%%%%%%%%%%%%
[HKEY_CLASSES_ROOT\Directory\shell\GitBash]
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
@="Git &Bash There"
"Icon"="\"PATH_TO_APP\\git-bash.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\GitBash\command]
@="\"PATH_TO_APP\\git-bash.exe\" \"--cd=%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\GitBash]
; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear
@="Git &Bash Here"
"Icon"="\"PATH_TO_APP\\git-bash.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\GitBash\command]
@="\"PATH_TO_APP\\git-bash.exe\" \"--cd=%V\""
;%%%%%%%%%%%%%%%% Git GUI %%%%%%%%%%%%%%%%
[HKEY_CLASSES_ROOT\Directory\shell\GitGUI]
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
@="Git &GUI There"
"Icon"="\"PATH_TO_APP\\cmd\\git-gui.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\GitGUI\command]
@="\"PATH_TO_APP\\cmd\\git-gui.exe\" \"--working-dir\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\GitGUI]
; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear
@="Git &GUI Here"
"Icon"="\"PATH_TO_APP\\cmd\\git-gui.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\GitGUI\command]
@="\"PATH_TO_APP\\cmd\\git-gui.exe\" \"--working-dir\" \"%V\""