Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 977
c4baf058 Avatar asked Jan 21 '13 20:01

c4baf058


People also ask

How do I run git GUI?

Windows and Linux Users To run gitk, type gitk in your command line or terminal. To run git-gui, type git gui instead.

What is git Bash GUI?

Git Bash emulates a bash environment on windows. It lets you use all git features in command line plus most of standard unix commands. Useful if you are used to Linux and want to keep the same habits. Git GUI is a Graphical User Interface letting you use Git without touching command line.

How do I open git shell?

You can also launch the Git Shell from the Desktop GUI application by pressing the ~ key (or CTRL + ~ at any time such as when a text field has focus) or via the gear menu in the top right. Select the “Open in Git Shell” menu item.


1 Answers

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.

like image 88
patthoyts Avatar answered Sep 29 '22 11:09

patthoyts