Firebase .gitignore Template
Standard Firebase gitignore template from upstream github/gitignore collection. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.
Interactive Stack Generator
Preconfigured with FirebaseStandard Firebase gitignore template from upstream github/gitignore collection
### Firebase #### Firebase build and deployment files/firebase-debug.log/firebase-debug.*.log.firebaserc # Firebase Hosting/firebase.json*.cachehosting/.cache # Firebase Functions/functions/node_modules//functions/.env/functions/package-lock.json # Firebase Emulators/firebase-*.zip/.firebase//emulator-ui/ # Logs*.lognpm-debug.log*yarn-debug.log*yarn-error.log* # Environment files (local configs)/.env.* Raw Firebase .gitignore
Crawlable upstream source template# Firebase build and deployment files/firebase-debug.log/firebase-debug.*.log.firebaserc # Firebase Hosting/firebase.json*.cachehosting/.cache # Firebase Functions/functions/node_modules//functions/.env/functions/package-lock.json # Firebase Emulators/firebase-*.zip/.firebase//emulator-ui/ # Logs*.lognpm-debug.log*yarn-debug.log*yarn-error.log* # Environment files (local configs)/.env.* Key Pattern Breakdown
Dependencies & Package Registries
External libraries and package manager directories installed locally rather than stored in version control.
Environment Secrets & Local Overrides
Local environment configurations, secrets, and credentials intended to protect developer-specific settings from exposure.
Execution Caches & Runtime Logs
Diagnostic logs, runtime metadata, test coverage reports, and incremental compiler caches that cause noisy repository diffs.
Source & Verification
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.