Search code examples
gitversion-controldvcsgitignoregit-status

git untracked files - how to ignore


When I run git status, I see the "Untracked files" section has many files (some with a "." extension.)

I don't think I have to do anything, but it doesnt look good to see these files whenever I run git status. Is there any way to not to see these files?


Solution

  • You need to create one or several .gitignore files. They can be stored in git itself, or just kept local.