Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 728
Priyesh Shah Avatar asked Feb 03 '14 06:02

Priyesh Shah


3 Answers

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.

like image 121
VonC Avatar answered Oct 01 '22 14:10

VonC


I have found my context menu disappears after altering extended menu items (General -> Set Extended Menu Items.) I can reproduce easily by selecting all, for example.

Using Shift + Right-Click as described by VonC, I revisit the settings page, click "Restore Defaults", then "Apply" and the context menu is immediately available with just a Right-Click again.

I'm not certain which extended menu item (or combinations or count) is the issue, but the underlying problem seems to originate here.

like image 27
Ben Griswold Avatar answered Oct 01 '22 15:10

Ben Griswold


It happened to me recently and it turned out I had to commit some changes before getting the option back.

This answer also states that you should not have Pull ticked in both "Context menu" and "Extended context menu", available in "Settings".

like image 45
Matthieu Avatar answered Oct 01 '22 14:10

Matthieu