Skip to content
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

Добавить __pycache__ в gitignore #11

Closed
samdark opened this issue Feb 17, 2020 · 3 comments
Closed

Добавить __pycache__ в gitignore #11

samdark opened this issue Feb 17, 2020 · 3 comments
Labels
enhancement New feature or improvement

Comments

@samdark
Copy link

samdark commented Feb 17, 2020

Кеш питона не игнорится. Приходится сносить чтобы сделать git pull.

@snooppr
Copy link
Owner

snooppr commented Feb 17, 2020

git pull работает хорошо на Deb

На этом еще и завязана опция обновления.
git stash && git pull
1

С каким дистрибутивом у вас проблема?

@samdark
Copy link
Author

samdark commented Feb 17, 2020

Я про git stash. Чтобы его не делать и чтобы случайно потом не влить содержимое pycache в репозиторий, директорию можно добавить в .gitignore. Вот примерно так: https://github.com/django/django/blob/master/.gitignore#L9

@snooppr
Copy link
Owner

snooppr commented Feb 17, 2020

Спрятал.

@snooppr snooppr closed this as completed Feb 17, 2020
@snooppr snooppr added the enhancement New feature or improvement label Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants