Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CMD Command for "Git Bash Here"

Tags:

git

bash

windows

In Windows I can run "Git Bash Here" in the current directory by opening right click menu.

I want to place gitbashhere.bat in default path for commands to have got easy access from standard cmd window.

The sh.exe --login -i command only opens git bash in sh.exe's directory instead of the current directory.

How do I check what command is bound to "Git Bash Here"?

like image 526
user3383675 Avatar asked Mar 14 '15 15:03

user3383675


1 Answers

Another way to see how a specific program was started is to launch Process Explorer, look for the process in the list of processes (for git this would be "git-bash.exe") and double-click on the process to open the properties.

On the 'Image' tab there's a text field that yields the command line of the process:

enter image description here

like image 70
Andreas Avatar answered Oct 11 '22 14:10

Andreas