Search code examples
visual-studio-codevscode-git

How can I make VS Code's Source Control View only show changed files and nothing else?


In the Git tab in VS Code, there are a number of features I never use, I prefer typing my command lines. Is there a way to only view changed files in different repos of the workspace?

It is very hard to read and navigate between repos with the big commit button, commit input, and short cut commands.


Solution

  • The best you can get is something like the following in settings.json (some lines commented out and left to taste):

    // "scm.showChangesSummary": false,
    // "scm.showIncomingChanges": "never",
    // "scm.showOutgoingChanges": "never",
    "git.showCommitInput": false,
    "scm.showInputActionButton": false,
    "scm.showActionButton": false,
    // "git.showActionButton": {
    //     "commit": false,
    //     "publish": false,
    //     "sync": false,
    // },
    "git.showInlineOpenFileAction": false,
    

    I prefer typing my command lines

    Frame challenge: If you prefer to use the commandline, why not just run git status and just never look at VS Code's SCM View?


    Related: How can I toggle the Git Commit Input in the Source Control View in VS Code?