Strapi .gitignore Template
Standard Strapi 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
Open in Full GeneratorStandard Strapi gitignore template from upstream github/gitignore collection
### Strapi ################################ OS X############################ .DS_Store.AppleDouble.LSOverrideIcon.Spotlight-V100.Trashes._* ############################# Linux############################ *~ ############################# Windows############################ Thumbs.dbehthumbs.dbDesktop.ini$RECYCLE.BIN/*.cab*.msi*.msm*.msp ############################# Packages############################ *.7z*.csv*.dat*.dmg*.gz*.iso*.jar*.rar*.tar*.zip*.com*.class*.dll*.exe*.o*.seed*.so*.swo*.swp*.swn*.swm*.out*.pid ############################# Logs and databases############################ .tmp*.log*.sql*.sqlite ############################# Misc.############################ *#.ideanbproject.vscode/ ############################# Node.js############################ lib-covlcov.infopidslogsresultsbuildnode_modules.node_historypackage-lock.json**/package-lock.json!docs/package-lock.json*.heapsnapshot ############################# Tests############################ testAppcoveragecypress/screenshotscypress/videos ############################# Documentation############################ dist ############################# Builds############################ packages/strapi-generate-new/files/public/ ############################# Example app############################ .dev# *.cache ############################# Visual Studio Code############################ front-workspace.code-workspace Raw Strapi .gitignore
Crawlable upstream source template############################# OS X############################ .DS_Store.AppleDouble.LSOverrideIcon.Spotlight-V100.Trashes._* ############################# Linux############################ *~ ############################# Windows############################ Thumbs.dbehthumbs.dbDesktop.ini$RECYCLE.BIN/*.cab*.msi*.msm*.msp ############################# Packages############################ *.7z*.csv*.dat*.dmg*.gz*.iso*.jar*.rar*.tar*.zip*.com*.class*.dll*.exe*.o*.seed*.so*.swo*.swp*.swn*.swm*.out*.pid ############################# Logs and databases############################ .tmp*.log*.sql*.sqlite ############################# Misc.############################ *#.ideanbproject.vscode/ ############################# Node.js############################ lib-covlcov.infopidslogsresultsbuildnode_modules.node_historypackage-lock.json**/package-lock.json!docs/package-lock.json*.heapsnapshot ############################# Tests############################ testAppcoveragecypress/screenshotscypress/videos ############################# Documentation############################ dist ############################# Builds############################ packages/strapi-generate-new/files/public/ ############################# Example app############################ .dev# *.cache ############################# Visual Studio Code############################ front-workspace.code-workspace 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.
System & Editor Files
Filters out operating system metadata and workstation-specific editor configuration folders.
Source & Verification
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.