-
Notifications
You must be signed in to change notification settings - Fork 1.3k
gitignore, folder fix, like __pycache__ #5762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree to the changes because the lines intends to point directories.
But I didn't get what you meant by below. Could you explain it more?
We can clean the pycache directory instead of using the downloaded one.
It's better to make sure the pycache folder is empty, to avoid the risk of cache state being shared between multiple users |
Could you tell me more details? I cannot imagine any difference before and after about current setting can make shared cache. I know |
If the pycache folder is unintentionally shared on Git, it can be downloaded by multiple users who might read someone else's cache or mistakenly consider it their own. |
Yes, I got that point. That's why |
To exclude a folder (anywhere in the project), use: ...if this is the right answer for the question |
That's not the answer for the question. I merge this not for better usability but to describe the gitignore intention better they were expected to be directory. |
Fix the path for better usability.We can clean the__pycache__
directory instead of using the downloaded one. It can sometimes cause errors