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
Open in Full GeneratorPhoenix 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 & Packages
Excludes installed package directories and third-party vendor files that should be restored via package managers.
Build & Compilation Artifacts
Ignores compiled binaries, intermediate object files, and build output directories generated during development.
Cache & Temporary Files
Ignores compiler caches, test runner coverage data, and transient temporary scratch files.
Source & Verification
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.