giteclipse

How to run git commands in eclipse?


I am using eclipse 2019-12 (4.14.0) and the Git perspective.

I can do a lot of things with GUI, like pull and push, etc.

but today I am facing an error where a possible solution is to run the command git remote prune origin

so basically that is the question, do Git perspective in eclipse allows me to enter a command ? particularly that command would be applied to the repository shown in the UI enter image description here

I know that I can open a terminal inside eclipse with crtl+alt+shift+t , but then I need to navigate all the way to the repository.


Solution

  • you can right-click on the repository and choose Show In > Terminal. Then type in the git command.