Git Toolbox

// Git Toolbox

.gitignore generator

Select your languages, frameworks, editors and OS. The file updates live.

Languages & frameworks
Editors
Operating systems
Misc

5 templates selected

Already committed a file? Adding it to .gitignore is not enough: run git rm --cached path/to/file then commit.

Your .gitignore
# Generated by gitpushf.uk — push first, panic later
 
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
.npm/
.yarn/cache
coverage/
dist/
*.tsbuildinfo
 
# VS Code
.vscode/*
!.vscode/settings.json
!.vscode/extensions.json
*.code-workspace
 
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
 
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.lnk
 
# Secrets (.env)
.env
.env.*
!.env.example
*.pem
*.key