且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

tortoisegit克隆选项在右键单击上下文菜单中不可用

更新时间:2023-08-20 10:59:28


  1. 隐藏菜单版本化路径被选中,所以没有显示TortoiseGit菜单的路径没有找到git工作树(你需要在那里按shift)


  2. 工作树(在不被忽略的文件夹中)上下文菜单中没有可用的克隆。但是,对于版本较高的文件夹(IIRC> = 2.2),在打开上下文菜单时按下 Shift 可以显示Git克隆条目。


I have installed git 2.5.2 64-bit and TortoiseGit 1.8.16.0 64-bit onto my Windows 7 64 bit computer. I would like to clone a repository but when I right click in windows explorer, I am not seeing an option to clone a repo:

I have gone to TortoiseGit -> Settings -> General -> Context Menu and made sure that the Clone option is checked:

I am able to clone a repo using git:

git clone user@location.com:Group/repo.git myrepo

I can also get TortoiseGit's clone dialog to open via command line:

TortoiseGitProc.exe /command:clone

but I can't seem to get it to work with TortoiseGit's shell integration.

Does anyone know why the clone option is not showing up?

  1. "Hide Menus for unversioned paths" is selected, so no TortoiseGit menu is shown for paths where no git working tree could be found (you need to press shift there)

  2. Within a working tree (in a non-ignored folder) no clone is available in the context menu. However, with newer versions (IIRC >= 2.2) also for versioned folders the Git clone entry can be shown by pressing Shift while opening the context menu.