G
GitIgnore.pro
Back to Templates

Angular .gitignore Template

Angular project template

5K downloads
4.5/5.0
Updated 2024-01
.gitignore
29 lines
# 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

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

How to Use This Template

  1. Copy the template content above
  2. Create a new file named .gitignore in your project root
  3. Paste the content into the file
  4. Customize the patterns for your specific project needs
  5. Commit the .gitignore file to your repository

Angular patterns

Upgrade your Angular workflow

Grab the curated template and share it with teammates.