Tortoisegit clone is not available in the right-click context menu

I installed git 2.5.2 64-bit and TortoiseGit 1.8.16.0 64-bit on my 64-bit computer running Windows 7. I would like to clone the repository, but when I right-click in Windows Explorer, I see no way to clone repo:

context menu image

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

tortoise git settings menu

I can clone the repo using git:

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

I can also open the TortoiseGit clone dialog to open through the command line:

 TortoiseGitProc.exe /command:clone 

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

Does anyone know why the clone option is not displayed?

+5
source share
2 answers
  • "Hide menu for unversioned paths" is selected, therefore the TortoiseGit menu is not displayed for paths where the git working tree cannot be found (you need to press shift)

  • In the working tree (in an unoccupied folder), the clone is not available in the context menu. However, with newer versions (IIRC> = 2.2) also for folder versions, the git clone entry can be shown by pressing Shift when opening the context menu.

+6
source

I have found a solution. When I disable the "Clone ..." option in the context menu settings dialog box, it appears in the shift + right context menu in the TortoiseGit folder in the context menu, where the "Clone ..." option will be displayed. (this is also true for the Create repository option here ...). This was a bit confusing, as the prompt of the dialog box for the context menu settings dialog "Check those menu entries that you want to display in the top context menu, and not the TortoiseGit submenu." I expected them to appear in the context menu of the top context menu (above the TortoiseGit submenu), but they did not. By checking these parameters, they were omitted from the TortoiseGit submenu, so they seemed to disappear. Now I can calm down, so that I can find the Clone ... and Create repository options here ..., but I would still be interested to know why they are not displayed in the main context menu.

-1
source

Source: https://habr.com/ru/post/1237258/


All Articles