Phoenix .gitignore Template
Phoenix Elixir web assets, digest files, and Mix build targets. 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 PhoenixPhoenix Elixir web assets, digest files, and Mix build targets
### 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 Raw Phoenix .gitignore
Crawlable upstream source template# 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 Key Pattern Breakdown
Dependencies & Package Registries
External libraries and package manager directories installed locally rather than stored in version control.
Build Outputs & Compiled Artifacts
Generated binary files, compilation targets, and distribution bundles that can be reliably reproduced from source.
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.