Feedback

Chat Icon

Learn Git in a Day

Everything you need, nothing you don't

Keep Junk Out of Your Repo
70%

A Real-World .gitignore

Let's create a .env file and a virtual environment to confirm they're being ignored:

echo "SECRET_KEY=abc123" > .env


# Install virtualenv if you don't have it
apt-get install python3-venv -y
python3 -m venv venv

Check the status:

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