Search code examples
gitvisual-studio-code

How to see the git commands VSCode makes behind the scenes when I press "Sync Changes", "Commit", or "Add",...etc. buttons?


I'm trying to learn Git, and the buttons make using Git very easy but I want to see the commands that take place behind the scenes.


Solution

  • Use Git output window.

    You can always peek under the hood to see the Git commands.

    To open the Git output window, run View >> Output and select Log (Git) from the dropdown list.