Search code examples
gittortoisegit

GIT menu not visible


I have GIT installed on my desktop. Earlier it used to work fine but on system restart suddenly it stopped working. Usually on right click GIT Clone, GIT Create Repository Here, TortoiseGIt options appear. In my case only TortoiseGIT appears and no further options in it such as Push, Pull, Switch/Checkout etc are visible. In short TortoiseGIT appears but is useless as I cannot do anything. I am using Windows 7 32-bit OS. What could be the cause of this? Also please help solve the issue.


Solution

  • Check if you haven't installed a Git for Windows (msysgit): it can preempt those contextual entry menu, as shown in issue 1995:

    https://tortoisegit.googlecode.com/issues/attachment?aid=19950002001&name=Install-msysGit-004.png&token=xpTmOovltQLaFXvGGSXJmbbQmyc%3A1391411098370&inline=1

    That same case illustrates other poins to check.

    After starting Windows there is no TortoiseGit context menu.
    If I run cmd.exe first and then start explorer.exe from the project directory, the context menu icons appear again.

    The OP Priyesh Shah adds in the comments:

    I am now able to see the context menu but only on pressing Shift Key+Right Click. Is there some setting to see the context menu without using Shift Key?

    That echoes what that issue says:

    Try to Press SHIFT and Right Click.
    If TortoiseGit context menu there, please go to TortoiseGit -> Settings -> General -> Context Menu -> un-check "Hide Menus for unversioned paths".


    John Zabroski points out in the comments to TortoiseGit Debuggin Hints.