Config Files · 1 file
Sample .gitignore File
A .gitignore lists the files Git should not track. Our sample is realistic and valid for its tool, with fake hosts and secrets.
.gitignore · 259 B
.gitignore
A .gitignore covering Node, Python, build output, editor and OS files, with a negation pattern and a comment. All hosts, keys and secrets are fake.
CC0 · free for any use · Verified by an independent tool · Report a problem
# Sample .gitignore — samplefiles.com
# Dependencies
node_modules/
.venv/
__pycache__/
*.py[cod]
# Build output
dist/
build/
coverage/
# Environment and secrets
.env
.env.*
!.env.example
# Editors and OS
.vscode/
.idea/
.DS_Store
Thumbs.db
# Logs
*.logFile details
Download from the command line
curl -L -o .gitignore https://files.samplefiles.com/config/gitignore/.gitignorewget https://files.samplefiles.com/config/gitignore/.gitignorehttps://files.samplefiles.com/config/gitignore/.gitignoreprintf '%s %s\n' cea7fef055090192e1c9d7c0fb39e949d2c0fb2b9a377208a90bc3f8946d215b .gitignore | shasum -a 256 -cOr check the download in your browser with the checksum calculator.