Feedback

Chat Icon

Learn Git in a Day

Everything you need, nothing you don't

Keep Junk Out of Your Repo
63%

Summary

Here is a quick reference for .gitignore patterns:

ConceptWhat It Does
.gitignoreTells Git which files and folders to ignore
* wildcardMatches any characters (e.g., *.pyc)
Trailing /

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.