Feedback

Chat Icon

Learn Git in a Day

Everything you need, nothing you don't

Your Git Cheatsheet
86%

Ignoring Files

A .gitignore file tells Git which files to skip. Common entries for Python:

# example .gitignore for Python projects
__pycache__/        # Compiled bytecode
*.pyc               # Individual compiled files
venv/               # Virtual environment
.env                # Secrets and API keys
.vscode/            # Editor settings
.idea/              # Editor settings
PatternMatches
*.pycAny file ending in .pyc
__pycache__/The folder and everything inside it

Learn Git in a Day

Everything you need, nothing you don't

Enroll now to unlock all content and receive all future updates for free.