bashgiteclipsedock

Attaching Git Bash inside Eclipse


I would like to have Git Bash inside Eclipse, similar to Windows cmd terminal. Right click on project - Show in Local Terminal - Git Bash. Now it opens in a new window. I have checked the options under Window - Preferences - Terminal - Local Terminal - Git Bash - Edit , but none works.

On another PC Git Bash opens inside Eclipse - see screenshot with this and the settings.

I would appreciate if you can help me to dock/attach Git Bash back into Eclipse.

Screenshot

Git Bash Eclipse


Solution

  • Make sure to specify the path of sh.exe, not of git-bash.exe.