Quantcast
Viewing all articles
Browse latest Browse all 5189

Ignoring files in a Git repo without touching .gitignore

This is exactly what I’ve needed. I can add all of my untracked files in the directory tree to this file and not get noise anymore when I do git status. As a bonus, here’s a one-liner command to add all of the untracked files to be ignored:

Viewing all articles
Browse latest Browse all 5189

Trending Articles