← 返回事件
持续讨论AI

.gitignore Everything by Default

图:Hacker News

发生了什么

I think we’ve all been there. You’re working on a project, making commits, and then suddenly realize you’ve been committing .DS_Store files, node_modules, IDE configuration files, or other junk (CLAUDE.md for example) that shouldn’t be in your repository. Or even worse - environment variables. Then comes the embarrassing cleanup: adding these files to .gitignore, removing them from the repository history, and hoping…

摘要按规则整理自下方来源原文

为什么在扩散

来源

社区讨论