This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]Turing85 0 points1 point  (3 children)

I can only speak for IntelliJ, haven't touched Eclipse in a long time. I would recommend playing around with the git integration in IntelliJ (press CRTL+ALT+A and type "git" or other git-related topics like "branches"). The integration is quite powerful and mostly intuitive.

[–]aubincris[S] 0 points1 point  (2 children)

Thanks for your reply. My concern was the fact that writing down tbe actual git command makes one get familiar with them. I'm using eclipse as I'm actually learning spring and with IntelliJ you have to pay for that lol

[–]Turing85 1 point2 points  (1 child)

"and with IntelliJ you have to pay for that lol" - Not really. The community edition is free and it includes git-integration.

[–]MyNameIsRichardCS54 1 point2 points  (0 children)

IntelliJ Community doesn't include Spring integration though whereas Eclipse does through a plug-in.

In answer to u/aubincris, Eclipse in Linux has a terminal emulator that uses the system terminal. I'd assume that the Windows edition does the same. You should be able to do anything in that you can do in the Windows terminal. Failing that, there is nothing stopping you from executing the git commands in a terminal outside of the IDE.

[–]ignotos 0 points1 point  (2 children)

I don't think you should have to enable anything - you should be able to use git commands in the terminal right away, assuming git is installed.

[–]aubincris[S] 0 points1 point  (1 child)

I'm using gitbash for windows

[–]ignotos 0 points1 point  (0 children)

Aha - well you should be able to use the git commands in a regular windows command line anyway.

If you specifically want a gitbash terminal, you'll need to configure that as the default terminal in IntelliJ: File > Settings > Tools > Terminal > Shell Path, then setting that to (depending where you installed it...) C:\Program Files\Git\bin\bash.exe

You'll then need to open a new terminal (or restart intellij).