Mark Gargan
Mark Gargan

Reputation: 863

how to see the git commands executed by Intellij

In Eclipse when you interact with a Subversion server, there is an SVN console which displays all the svn commands that the ide performs against the subversion server.

Thanks, Mark.

Upvotes: 16

Views: 8202

Answers (3)

Tanguy Laver
Tanguy Laver

Reputation: 41

As written in the Intellij IDEA documentation (see https://www.jetbrains.com/help/idea/version-control-tool-window-console-tab.html#26ed03a2):

The Console tab only appears when you execute version control-related commands. If you close this tab, all previous input will be lost.

So, if you close the console tab, you need to execute a git command from IDEA Git menu (like "fetch", for instance) and the console tab will reopen, automagically !

Upvotes: 4

stelmod
stelmod

Reputation: 525

You can get the actual git commands with timestamps in the "Version Control" view.

You can enable that in View -> Tool Windows -> Version Control

Update for more recent versions:

The tool window is now named according to your VCS e.g. Git, Mercurial. To see the commands, you need to switch to the Console tab.

Upvotes: 25

Vipin
Vipin

Reputation: 5223

Intellij 2020.2 this option can be seen in the console section of git, shortcut for vcs(git here) is alt+9, see the screeen shot:

enter image description here

Upvotes: 5

Related Questions