Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
gitignore – A collection of useful .gitignore templates (github.com/github)
21 points by peter_d_sherman on Nov 23, 2022 | hide | past | favorite | 4 comments


I always use https://gitignore.io.


This is an impressive effort. I would love to see ignore rules for the particular editors and ideS added to project .gitignore files less frequently though.

Which editor someone uses is a private matter. Don’t commit it to public repositories. There’s local gitignore for that.


Don’t forget about $GIT_DIR/info/exclude. Gitignore can get bloated with dev specific files, rather than project specific files.


Always my first stop with new repos.




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

Search: