DEV Community

Discussion on: How do you organize your virtual environments?

Collapse
 
furtleo profile image
Leonardo Furtado

I used it like that too, but sometimes I did git add. and sent my environment to Github by mistake.

Collapse
 
davidmm1707 profile image
David MM👨🏻‍💻

That's why .gitignore exists 😀

Thread Thread
 
furtleo profile image
Leonardo Furtado

It is ok to add the virtual environment in gitignore to personal projects, but what if the project is from another user? :/

Thread Thread
 
nicolaerario profile image
Nicola Erario

You can set your local “global.gitignore”.

Thread Thread
 
furtleo profile image
Leonardo Furtado

wow, I'll see it, thanks <3