Skip to content

Instantly share code, notes, and snippets.

@mcfog
Created August 13, 2012 08:39
Show Gist options
  • Save mcfog/3338295 to your computer and use it in GitHub Desktop.
Save mcfog/3338295 to your computer and use it in GitHub Desktop.

*** How to use

  1. replace the tortoiseGit install path in tortoiseGit_win7_menu.reg with yours and import it into registry
  2. open regedit, edit HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{5c4f28b5-f869-4e84-8e60-f11db97c5cc7}\TasksNoItemsSelected & HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{5c4f28b5-f869-4e84-8e60-f11db97c5cc7}\TasksItemsSelected
    use names like "mcfog.git.commit", semicon-seperated, example:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{5c4f28b5-f869-4e84-8e60-f11db97c5cc7}\TasksItemsSelected]
@="mcfog.git.menu.svn;mcfog.git.log;mcfog.git.diff;mcfog.git.sync;mcfog.git.menu.branch"
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.branch]
"MUIVerb"="Branch"
"CanonicalName"="{9ccac8f1-b359-4133-af0c-19b7eacfbc21}"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,14"
"ImpliedSelectionModel"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.branch\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:branch /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.commit]
"MUIVerb"="Commit"
"CanonicalName"="{839ee8df-bf77-48b5-b7b7-bad10e325139}"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,1"
"ImpliedSelectionModel"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.commit\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:commit /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.diff]
"ImpliedSelectionModel"=dword:00000001
"MUIVerb"="Diff"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,17"
"CanonicalName"="{27a8ed0a-5e47-4716-b059-5e09259d44bd}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.diff\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:diff /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.log]
"CanonicalName"="{33562ec3-30d8-42d8-9af0-84363e76349b}"
"MUIVerb"="Log"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,18"
"ImpliedSelectionModel"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.log\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:log /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.menu.branch]
"CanonicalName"="{37a9a24b-33c2-4d04-aa85-8e68cb9df3f4}"
"MUIVerb"="Branch"
"Icon"="shell32.dll,-16753"
"Description"="Git Branch"
"SubCommands"="mcfog.git.switch;mcfog.git.branch;mcfog.git.merge;mcfog.git.rebase;mcfog.git.refbrs"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.menu.svn]
"CanonicalName"="{7a67d80d-3997-4400-b19e-3d01a7d70044}"
"Icon"="shell32.dll,-16753"
"Description"="Git SVN"
"SubCommands"="mcfog.git.svnfetch;mcfog.git.svnrebase;mcfog.git.svndcommit;"
"MUIVerb"="SVN"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.merge]
"MUIVerb"="Merge"
"CanonicalName"="{9ccac8f1-b359-4133-af0c-19b7eacfbc21}"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,11"
"ImpliedSelectionModel"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.merge\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:merge /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.pull]
"MUIVerb"="pull"
"CanonicalName"="{8e20dc30-7ec9-11e1-b0c4-0800200c9a66}"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,-5"
"ImpliedSelectionModel"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.pull\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:pull /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.rebase]
"MUIVerb"="Rebase"
"CanonicalName"="{72bea1b3-2f66-460c-baf0-34178be08ef7}"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,97"
"ImpliedSelectionModel"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.rebase\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:rebase /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.refbrs]
"MUIVerb"="Ref Browse"
"CanonicalName"="{e83e9ef1-51ad-4b23-9a5a-7a2daf9922b7}"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,83"
"ImpliedSelectionModel"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.refbrs\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:refbrowse /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.svndcommit]
"MUIVerb"="svn dcommit"
"CanonicalName"="{b24d3e1f-8716-4bdb-b64f-16681976b064}"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,5"
"ImpliedSelectionModel"=dword:00000001
"InvokeCommandOnSelection"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.svndcommit\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:svndcommit /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.svnfetch]
"MUIVerb"="svn fetch"
"CanonicalName"="{40515f3c-a0d7-4b62-8738-3ac3825b2358}"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,-5"
"ImpliedSelectionModel"=dword:00000001
"InvokeCommandOnSelection"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.svnfetch\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:svnfetch /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.svnrebase]
"MUIVerb"="svn rebase"
"CanonicalName"="{b24d3e1f-8716-4bdb-b64f-16681976b064}"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,97"
"ImpliedSelectionModel"=dword:00000001
"InvokeCommandOnSelection"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.svnrebase\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:svnrebase /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.switch]
"MUIVerb"="Switch"
"CanonicalName"="{9ccac8f1-b359-4133-af0c-19b7eacfbc21}"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,10"
"ImpliedSelectionModel"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.switch\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:switch /path:%0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.sync]
"MUIVerb"="Sync"
"CanonicalName"="{acb2c4c7-2966-4d84-9b00-db7903838091}"
"Icon"="D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe,23"
"ImpliedSelectionModel"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\mcfog.git.sync\command]
@="\"D:\\Program Files\\TortoiseGit\\bin\\TortoiseProc.exe\" /command:sync /path:%0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment