Feedback

Chat Icon

Learn Git in a Day

Everything you need, nothing you don't

Keep Junk Out of Your Repo
71%

Ignore Files Across Every Repo

Some files you'll want to ignore in every project on your machine - things like .DS_Store (macOS) or Thumbs.db (Windows). Instead of adding them to every project's .gitignore, you can set up a global ignore file:

git config --global core.excludesfile ~/.gitignore_global
cat << 'EOF' > ~/.gitignore_global
# macOS
.DS_Store

# Windows
Thumbs.db

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.

Unlock now  $9.99$7.49

Hurry! This limited time offer ends in:

To redeem this offer, copy the coupon code below and apply it at checkout:

Learn More