문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top