-
-
Notifications
You must be signed in to change notification settings - Fork 503
Add *.pyc to .gitignore #228
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
When using this repo as a git submodule, it can be annoying to have the .pyc files dirtying up the work tree. Adding them to the .gitignore file prevents this. Fixes amoffat#227.
|
Hi Joe, I'd prefer to leave |
|
Thanks for the fast response! I am aware that I can create a global gitignore and solve this problem for myself, but I was hoping to solve it for everyone else at the same time. Why do you want to leave |
|
Different people have different exclusions. People on OSX might have |
|
I'm not that familiar with Python, so I could be way off here, but aren't |
|
You're right that I've been down this path, I believe it's best to not track |
|
I my opinion, the In the unlikely case where you need to ignore files for this specific project but those ignores shouldn't be committed, it is always possible to setup another gitignore file in the |
|
@arthurdarcet I agree that the However, doing a little research on local gitignores led me to this, which lets me have exclusions that I don't have to commit by putting them in |
|
Great! Thanks for reconsidering! 👍 |
When using this repo as a git submodule, it can be annoying to have the
.pyc files dirtying up the work tree. Adding them to the .gitignore file
prevents this.
Fixes #227.