Почему Git не добавляет папку? - PullRequest
0 голосов
/ 15 февраля 2019

Я хочу добавить папку app/static/icon в репо.

Когда я делаю git add app/static/icon, Git возвращает:

The following paths are ignored by one of your .gitignore files:
app/static/icon
Use -f if you really want to add them.

Мой файл .gitignore:

**/__pycache__/
**/*.pyc
.idea/

params.py

flask/

app/static/load/
db/

Почему эта папка игнорируется?

1 Ответ

0 голосов
/ 09 марта 2019

Используйте git check-ignore -v app/static/icon, чтобы узнать.

...