From 0621a15e354081be883d8ae6068335240f7348af Mon Sep 17 00:00:00 2001 From: dualtribesman <98664686+koladebashir@users.noreply.github.com> Date: Thu, 20 Nov 2025 00:27:40 +0100 Subject: [PATCH] Update .gitignore commands in virtual-environments.md The documentation instructs users to create a .gitignore file inside the .venv folder. This is unnecessary and potentially confusing, because the virtual environment should be ignored from the project root .gitignore. Creating a .gitignore inside .venv is not standard Git/Python practice and can mislead users. --- docs/en/docs/virtual-environments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/docs/virtual-environments.md b/docs/en/docs/virtual-environments.md index e9b0a9fc4..bed4c2515 100644 --- a/docs/en/docs/virtual-environments.md +++ b/docs/en/docs/virtual-environments.md @@ -261,7 +261,7 @@ Do this **once**, right after you create the virtual environment.
```console -$ echo "*" > .venv/.gitignore +$ echo ".venv" > .gitignore ```