Skip to content
framework8 個の有効ルール2026-09-30 検証済み

Phoenix .gitignore テンプレート

Phoenix Elixir web assets, digest files, and Mix build targets. 公式GitHubリポジトリの最新パターンと決定論的に統合され、パッケージディレクトリ、一時ビルド成果物、ローカル環境ファイルをクリーンに保ちます。

スタック統合ジェネレーター

フルジェネレーターで開く
Search for templates
クイック追加:
選択中1
Phoenix
選択されたテンプレート (1)
.gitignore
8 ルール
### Phoenix ###
# gitignore template for Phoenix projects
# website: http://www.phoenixframework.org/
#
# Recommended template: Elixir.gitignore
# Temporary files
/tmp
# Static artifacts
/node_modules
/assets/node_modules
# Since we are building assets from web/static,
# we ignore priv/static. You may want to comment
# this depending on your deployment strategy.
/priv/static/
# Installer-related files
/installer/_build
/installer/tmp
/installer/doc
/installer/deps
24 行•UTF-8
決定論的パイプライン

生ソース: Phoenix .gitignore

クローラブルな公式アップストリーム原典
elixir-phoenix.gitignore•23 lines•UTF-8
# gitignore template for Phoenix projects
# website: http://www.phoenixframework.org/
#
# Recommended template: Elixir.gitignore
# Temporary files
/tmp
# Static artifacts
/node_modules
/assets/node_modules
# Since we are building assets from web/static,
# we ignore priv/static. You may want to comment
# this depending on your deployment strategy.
/priv/static/
# Installer-related files
/installer/_build
/installer/tmp
/installer/doc
/installer/deps

主要除外パターンの解説

依存関係・パッケージフォルダ

パッケージマネージャーによって再インストール可能な外部ライブラリや vendor フォルダを除外します。

/node_modules/assets/node_modules

ビルド・コンパイル生成物

ビルド処理で生成されるバイナリ、オブジェクトファイル、出力先ディレクトリを除外します。

/installer/_build

キャッシュ・一時ファイル

コンパイラキャッシュ、テストカバレッジデータ、一時作業ファイルを除外してリポジトリを軽量に保ちます。

/tmp/installer/tmp

ソース元とライセンス検証

ライセンス:: CC0-1.0

このファイルをプロジェクトのルートディレクトリに .gitignore というファイル名で配置してください。新規および未追跡ファイルに即座に反映されます。