Last active
December 30, 2025 01:26
-
-
Save joshuamabina/0f8cec58a0ffe62acb80014052ba3c66 to your computer and use it in GitHub Desktop.
Universal .gitignore for modern projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ==================== | |
| # System / OS files | |
| # ==================== | |
| .DS_Store | |
| Thumbs.db | |
| *.swp | |
| *.swo | |
| # ==================== | |
| # Vim | |
| # ==================== | |
| *.swp | |
| *.swo | |
| *.swn | |
| *.un~ | |
| *.bak | |
| *.tmp | |
| *.vim~ | |
| Session.vim | |
| *.vimundo | |
| *.vimswap | |
| *.view | |
| # ==================== | |
| # Environment / Secrets | |
| # ==================== | |
| .env | |
| .env.*.local | |
| .migrate_working_dir/ | |
| .vscode/ | |
| .atom/ | |
| # ==================== | |
| # IDE / Editor | |
| # ==================== | |
| # IntelliJ / PhpStorm / Android Studio | |
| *.iml | |
| *.ipr | |
| *.iws | |
| .idea/ | |
| out/ | |
| # VS Code (comment if you want to track settings) | |
| #.vscode/ | |
| # ==================== | |
| # Node.js / JavaScript / TypeScript | |
| # ==================== | |
| node_modules/ | |
| dist/ | |
| build/ | |
| npm-debug.log* | |
| yarn-debug.log* | |
| yarn-error.log* | |
| pnpm-debug.log* | |
| .pnp/ | |
| .pnp.js | |
| *.tsbuildinfo | |
| # React / Next.js | |
| .next/ | |
| out/ | |
| coverage/ | |
| *.log | |
| # ==================== | |
| # Dart / Flutter | |
| # ==================== | |
| .dart_tool/ | |
| .flutter-plugins | |
| .flutter-plugins-dependencies | |
| .pub-cache/ | |
| .pub/ | |
| /build/ | |
| /coverage/ | |
| **/doc/api/ | |
| **/ios/Flutter/.last_build_id | |
| # ==================== | |
| # PHP / Laravel | |
| # ==================== | |
| vendor/ | |
| composer.lock | |
| storage/*.key | |
| storage/*.log | |
| storage/debugbar/ | |
| bootstrap/cache/ | |
| # ==================== | |
| # Misc / Logs / Cache | |
| # ==================== | |
| *.log | |
| *.cache | |
| *.tmp | |
| *.bak | |
| # ==================== | |
| # Version control | |
| # ==================== | |
| .svn/ | |
| .hg/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment