Skip to content

Instantly share code, notes, and snippets.

@andronics
Last active August 21, 2023 13:19
Show Gist options
  • Save andronics/027300bb29f72e3a84933352e61c9acd to your computer and use it in GitHub Desktop.
Save andronics/027300bb29f72e3a84933352e61c9acd to your computer and use it in GitHub Desktop.
Git - Untracked files

When doing git commit, is there a way to not display the untracked files?

Global

$ git config --global status.showUntrackedFiles no

Single Repositry

$ git config --local status.showUntrackedFiles no

Reference: git-config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment