c4baf058
c4baf058

Reputation: 225

How to open Git Bash from Git Gui?

In Windows, is there any way to open Git Bash from the repository currently open by Git Gui?

Upvotes: 6

Views: 4098

Answers (1)

patthoyts
patthoyts

Reputation: 33193

Go to the Tools menu and select Add. In the Name entry field, enter something like 'bash prompt' and in the Command entry field enter start bash --login -l and check the "Don't show the command output window". This will add the following config entry:

[guitool "bash"]
    cmd = start bash --login -l
    noconsole = yes

This gives you a "Tools\bash" menu item to click which launches your bash prompt.

Note that due to the 'start' command prefix, it is independent of the launching Tcl application and will stay around after you exit git gui.

Upvotes: 5

Related Questions