Angular .gitignore Template
Angular CLI build artifacts (.angular/), dist folder, and test reports. 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 GeneratorAngular CLI build artifacts (.angular/), dist folder, and test reports
### Angular #### Angular specific/dist//out-tsc//tmp//coverage//e2e/test-output//.angular/.angular/ # Node modules and dependency files/node_modules//package-lock.json/yarn.lock # Environment files/.env # Angular CLI and build artefacts/.angular-cli.json/.ng/ # TypeScript cache*.tsbuildinfo # Logsnpm-debug.log*yarn-debug.log*yarn-error.log* Raw Angular .gitignore
Crawlable upstream source template# Angular specific/dist//out-tsc//tmp//coverage//e2e/test-output//.angular/.angular/ # Node modules and dependency files/node_modules//package-lock.json/yarn.lock # Environment files/.env # Angular CLI and build artefacts/.angular-cli.json/.ng/ # TypeScript cache*.tsbuildinfo # Logsnpm-debug.log*yarn-debug.log*yarn-error.log* 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.
Environment & Secrets
Prevents leaking sensitive local credentials, API keys, database URLs, and environment configuration files.
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.