Skip to content

Comment on .gitignore Is Inherently Sisyphean

Comments

No. IDE-specific ignore lists should go in $CONFIG/git or .git/info/exclude (or whatever the path is).

(git config --global core.excludesfile "$CONFIG/git/ignore")

.gitignore is committed to the repository and should be for files created by the repository that shouldn't appear in 'git status' like build/, etc.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.