Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: