taycants
taycants

Reputation: 1

Asterisk or venv/* in .gitignore

What should I leave in .gitignore inside of venv file in order to not keep track when using git add *.

I am a bit confused because just asterisk is used inside of original .gitignore, but I saw suggestions like adding venv/* or even venv/

Upvotes: 0

Views: 937

Answers (1)

shoebob
shoebob

Reputation: 71

You can ignore the venv directory by adding venv/ to your .gitignore. There is a Github repository dedicated to .gitignore, (git repository), so I would highly suggest checking that out.

Upvotes: 1

Related Questions