Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Git Bash here" isn't working when right clicking

I don't know, how that happened but before today I could right click on any folder and there would be and an option Git Bash here. But today I dont have that option. Anyone knows how to get that back?

like image 538
FoxKllD Avatar asked Apr 25 '12 04:04

FoxKllD


People also ask

Why is Git bash here not working?

It must be its silent upgrade leaving out all the customized options. So, the solution is to delete the current crippled installation, and reinstall Git manually, with manual selection of "Git Bash Here" features.

How do I enable here in Git bash?

The Windows Explorer integration > Context menu entries option allows opening the Git command prompt (Git Bash) from any folder by clicking with the right mouse button on the folder and selecting Git Bash Here.

What is Git bash here?

What is Git Bash? Git Bash is an application for Microsoft Windows environments which provides an emulation layer for a Git command line experience. Bash is an acronym for Bourne Again Shell. A shell is a terminal application used to interface with an operating system through written commands.


1 Answers

HOW TO FIX WITHOUT RE-Installing:

I got this problem after moving all my programs off of my main hard drive and pasting them into my "P" drive. But kept all of the directory structures the same.

Git was moved from:
C:\DEV\PROG\GIT
TO:
P:\DEV\PROG\GIT

1: Open The Registry Editor: Type "regedit" in start menu search and hit enter.

2: Find the context menu shortcut configuration for "git bash here" In regedit: Menu "Edit" > "Find" > "Find what" and enter "git_shell"

3: Edit the Data value so that path points to the correct location. In my case I changed:

"C:\DEV\PROG\GIT\git-bash.exe" "--cd=%v." TO: "P:\DEV\PROG\GIT\git-bash.exe" "--cd=%v." Screen shot included below. 

git_shell Data Path in RegEdit

like image 111
Juan Marco Avatar answered Oct 05 '22 15:10

Juan Marco