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

.gitignore — first lines
# 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
*.log

File details

Size
259 B (259 bytes)
MIME type
text/plain
SHA-256
cea7fef055090192e1c9d7c0fb39e949d2c0fb2b9a377208a90bc3f8946d215b
MD5
5cc659bbcf5a506beb48c3da17daac9c

Download from the command line

curl -L -o .gitignore https://files.samplefiles.com/config/gitignore/.gitignore

Or check the download in your browser with the checksum calculator.