Right Click of git bash and gui doesn't work after updating and changing directories

657 views
Skip to first unread message

Linus the Capybara (Big capybara)

unread,
Oct 6, 2022, 6:02:46 PM10/6/22
to git-for-windows

it looks something like this and this has been really annoying.. I am trying to figure this out for the whole day. i have tried everything. From trying to remove these from registry editor and even installing and uninstalling Git. Nothing seems to work.
Any help would be appreciated 
Thanks
Message has been deleted

Toshiki Anda

unread,
Oct 12, 2022, 12:33:45 PM10/12/22
to git-for-windows
(My prior post gets deleted by the group since I did not click to join the group - stupid mistake)

Here's a direct pull-off article from stackoverflow, I'm guessing the right click menu you referred here is the context menu which shows a bunch of shortcuts with a popup when cursor right clicked. Here the context menu encounters an inept change over the system registries over the registry editor. Yet you mentioned a "shift" of the dir of gitbash installation location, I ain't sure on what you exactly means here since lesser context and details are provided, but yes if you just ctrl+c/v the gitbash installation location into some new locations, the shortcut entries of gitbash in your context menu obviously won't work, since the shortcut was pointing your original installation location your new shifted location is not properly configured with environment variables; whereby if you managed to open the gitbash via right click in whatever dirs, my presumption here on loosing the icons is because the dirs does not match your ''gitbash.exe" file, let's say you priorly installed in "C:/<your-username>/gitbash" and you ctrl+c/v the entire folder into "D:/apps/gitbash", here the gitbash.exe's original location was in driver C, and now it's in D. Apparently it won't work out; this does something with symlinks and shortcuts in windows, especially win10, I'm just providing assumptions based on my own experience, you will have to do the actual research. :)

Toshiki Anda

unread,
Oct 17, 2022, 5:22:21 PM10/17/22
to git-for-windows

Here's a quick guide directly from stackoverflow, since the context menu is loosing icon as screenshot attached, my speculation would be something related to shortcut dir of your laptop yet you mentioned dir shifting of the git-bash installation entries, I assume the shortcut of gitbash along with its affiliated icons is pointing the original dir before the shift, so you might want to check the link as well find the dir of the shortcut depending on your system (Google apparently) plus the entries where gitbash installs on default.
On Friday, October 7, 2022 at 6:02:46 AM UTC+8 Linus the Capybara (Big capybara) wrote:
Reply all
Reply to author
Forward
0 new messages