gonsole weeks: a git console for eclipse

Home  >>  Eclipse  >>  gonsole weeks: a git console for eclipse

gonsole weeks: a git console for eclipse

On July 9, 2014, Posted by , In Eclipse,Gonsole, By ,,, , With 7 Comments

Even though Eclipse ships with a comprehensive Git tool, it seems that for certain tasks many developers switch to the command line. Because of that, Frank and I started to fill this gap a few weeks ago.

If you are interested in what happened during this time you may want to read these posts: git init gonsole, eclipse egit integration, content assist for git commands, oops – it’s a framework and multiple console sessions.

This weeks update brings usage hints for commands, a command history, an Open Console contribution for the EGit Team menu and a small enhancement for the use command. If you want to try the new features by yourself, you can install the tool from this update site: https://rherrmann.github.io/gonsole/repository/

Command Usage Hints

The content assist now gives you usage hints for the selected proposal.


Finally the long promised command history is there:

To bring up the history popup, you can use the same key as in the Unix shell: Arrow Up. As with the content assist, the entries are filtered. Text that you have already typed or type while the popup is open will filter the entries that are shown.

Use Command Enhancement

With the use command it is now possible to switch to a repository that is not known to your IDE. If you enter the command followed by the absolute path to the .git directory of a repository, Gonsole will switch to this repository.

EGit Team Menu

If Gonsole is installed, the EGit Team menu shows an Open Console entry. If you select it, a console session will be opened for the repository that the selected resource belongs to.


While we had much fun over the last weeks we were also able to learn a few things from experiementing with new programming techniques. In particular, the nested TDD approach has worked out very well for us. This was also our first encounter with Travis – that we found very pleasant. It provides a lean CI build infrastructure and integrates well with GitHub.

But we will take a break for now from working on Gonsole as we have to attend to other duties. In the meanwhile we gather feature requests that might surface and see what can be achieved with the next version.

Yours Sincerely, …


Rüdiger & Frank
Follow me

Rüdiger Herrmann

Routined programmer, team lead, presenter, blog writer, and convinced open source contributor with two decades experience in the field.

Strong focus on quality backed up by agile methods like test driven development, modularization, pair programming, clean code, continuous integration.

Specialized in Java with JEE, REST, OSGi, RCP, RAP and building developer tools based on the Eclipse IDE (or any other platform if an opportunity arises).
Follow me

Latest posts by Rüdiger Herrmann (see all)

7 Comments so far:

  1. ssj says:

    Good idea

    Is there a way to change text colors? the blue,red,black colors don’t work very well with the Dark theme of eclipse Luna

    Managing (custom) alias could be a good enhancement
    For instance
    # cat /root/.gitconfig
    co = checkout
    ci = commit
    st = status
    br = branch
    rb = rebase
    hist = log –pretty=format:\”%H %ad | %s%d [%an]\” –graph –date=short
    type = cat-file -t

  2. Nihar says:

    In CVS while we commit it shows the full path of the file which gets committed but in GONSOLE I did not find the same feature.

    • Rüdiger Herrmann says:


      which Git command would you expect to show more information? Gonsole delegates the entred commands to the JGit command line interface. If you have a specific request, you’re probably best off filing an enhancement request against JGit. As soon as the feature is released in JGit, it can be integrated into Gonsole.

  3. eswar says:

    How to setup git repo credentials to use while git push

    • Rüdiger Herrmann says:

      Which protocol and authentication method do you use? Do you use the EGit integation and is your repository known to EGit?

Leave a Reply

Your email address will not be published. Required fields are marked *