framework17 個の有効ルール2026-09-30 検証済み
Firebase .gitignore テンプレート
Standard Firebase gitignore template from upstream github/gitignore collection. 公式GitHubリポジトリの最新パターンと決定論的に統合され、パッケージディレクトリ、一時ビルド成果物、ローカル環境ファイルをクリーンに保ちます。
スタック統合ジェネレーター
フルジェネレーターで開く/
Search for templates
クイック追加:
選択中1
Firebase
選択されたテンプレート (1)
Firebase
framework
Standard Firebase gitignore template from upstream github/gitignore collection
#firebase
.gitignore
17 ルール•1 テンプレート
### 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.* 30 行•UTF-8•LF
決定論的パイプライン
生ソース: Firebase .gitignore
クローラブルな公式アップストリーム原典firebase.gitignore•29 lines•UTF-8
# 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.* 主要除外パターンの解説
依存関係・パッケージフォルダ
パッケージマネージャーによって再インストール可能な外部ライブラリや vendor フォルダを除外します。
/functions/node_modules/
環境変数・シークレット情報
API キー、パスワード、接続文字列を含むローカル環境変数ファイル(.env)の流出を防止します。
/functions/.env/.env.*
キャッシュ・一時ファイル
コンパイラキャッシュ、テストカバレッジデータ、一時作業ファイルを除外してリポジトリを軽量に保ちます。
/firebase-debug.log/firebase-debug.*.log*.cachehosting/.cache*.lognpm-debug.log*他 +2 件
ソース元とライセンス検証
ライセンス:: CC0-1.0
このファイルをプロジェクトのルートディレクトリに .gitignore というファイル名で配置してください。新規および未追跡ファイルに即座に反映されます。