Salesforce .gitignore Template
Standard Salesforce gitignore template from upstream github/gitignore collection. 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 SalesforceStandard Salesforce gitignore template from upstream github/gitignore collection
### Salesforce #### This file is used for Git repositories to specify intentionally untracked files that Git should ignore.# If you are not using git, you can delete this file. For more information see: https://git-scm.com/docs/gitignore# For useful gitignore templates see: https://github.com/github/gitignore # Salesforce cache.sf/.sfdx/.localdevserver/deploy-options.json.localdev # LWC VSCode autocomplete**/lwc/jsconfig.json # LWC Jest coverage reportscoverage/ # Logslogs*.lognpm-debug.log*yarn-debug.log*yarn-error.log* # Eslint cache.eslintcache # Windows system filesThumbs.dbehthumbs.db[Dd]esktop.ini$RECYCLE.BIN/ # Salesforce Analyzer resultssca-results.csvsfca_results.json # Local environment variables.env Raw Salesforce .gitignore
Crawlable upstream source template# This file is used for Git repositories to specify intentionally untracked files that Git should ignore. # If you are not using git, you can delete this file. For more information see: https://git-scm.com/docs/gitignore# For useful gitignore templates see: https://github.com/github/gitignore # Salesforce cache.sf/.sfdx/.localdevserver/deploy-options.json.localdev # LWC VSCode autocomplete**/lwc/jsconfig.json # LWC Jest coverage reportscoverage/ # Logslogs*.lognpm-debug.log*yarn-debug.log*yarn-error.log* # Eslint cache.eslintcache # Windows system filesThumbs.dbehthumbs.db[Dd]esktop.ini$RECYCLE.BIN/ # Salesforce Analyzer resultssca-results.csvsfca_results.json # Local environment variables.env Key Pattern Breakdown
Build Outputs & Compiled Artifacts
Generated binary files, compilation targets, and distribution bundles that can be reliably reproduced from source.
Environment Secrets & Local Overrides
Local environment configurations, secrets, and credentials intended to protect developer-specific settings from exposure.
Execution Caches & Runtime Logs
Diagnostic logs, runtime metadata, test coverage reports, and incremental compiler caches that cause noisy repository diffs.
Operating System & Workspace Files
Editor-specific workspace configuration and OS filesystem metadata generated automatically by host operating systems.
Source & Verification
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.