Search code examples
gitloggingvisual-studio-codepane

In Visual Studio Code, how can I get a git log of all git commands executed in the Source Control pane?


In vscode Source Control pane, I would like to get a log of the commands of any applied git command of the running session, including all mouse-click actions.

For example:

Before "Initialize Repository":

before "Initialize Repository"

After "Initialize Repository", which should log the git init command:

after "Initialize Repository"

And so on.


Solution

  • The Git Output is available in the Output pane if you select Git instead of Tasks from its toolbar.

    You get the same result through ["Source Control" > 3 dots [...] > "Show Git Output"].

    (This quotes @PanagiotisKanavos's comment who has not answered after request.)