This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: [venv] Add a `.gitignore` file with content `*` in the root folder generated by venv module
Type: enhancement Stage: resolved
Components: Library (Lib) Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder: [venv] Adding a .gitignore file to virtual environments
View: 39236
Assigned To: Nosy List: brett.cannon, star2000, vinay.sajip, xtreak
Priority: normal Keywords:

Created on 2021-02-20 13:17 by star2000, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg387404 - (view) Author: star2000 (star2000) Date: 2021-02-20 13:17
In this way, you don't need to add `venv` to `.gitignore` at the root of each project.
msg387406 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2021-02-20 13:26
This seems to be a duplicate of https://bugs.python.org/issue39236
msg387407 - (view) Author: star2000 (star2000) Date: 2021-02-20 13:47
I still think the advantages outweigh the disadvantages.
History
Date User Action Args
2022-04-11 14:59:41adminsetgithub: 87441
2022-02-16 23:42:20brett.cannonsetsuperseder: [venv] Adding a .gitignore file to virtual environments
2021-02-20 13:47:34star2000setstatus: open -> closed

components: + Library (Lib)
title: Add a `.gitignore` file with content `*` in the root folder generated by venv module -> [venv] Add a `.gitignore` file with content `*` in the root folder generated by venv module
messages: + msg387407
type: enhancement
resolution: duplicate
stage: resolved
2021-02-20 13:26:39xtreaksetnosy: + vinay.sajip, brett.cannon, xtreak
messages: + msg387406
2021-02-20 13:17:23star2000create