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

Ignore system bug #6928

Closed
HemulGM opened this issue Feb 24, 2019 · 1 comment
Closed

Ignore system bug #6928

HemulGM opened this issue Feb 24, 2019 · 1 comment

Comments

@HemulGM
Copy link

HemulGM commented Feb 24, 2019

Пробую игнорировать выбранный файл (*.ini)
Добавляю через контекстное меню, и в файл игнорирования он добавляется, однако даже если отбросить изменения в нём, после последующих изменений он снова не игнорируется. При повторном добавлении файла, файл игнорирования снова пополняется, но без какого-либо эффекта.
image

@shiftkey
Copy link
Member

@HemulGM thanks for the report.

Looking at that screenshot, the diff looks like it's a change to a modified file - which means it's already tracked by Git. The .gitignore file is only used for untracked files, and once a file is committed to the Git repository it is considered tracked.

You will need to delete the file from the repository, and commit the change, for the .gitignore to have any effect on this file.

We are tracking improving this experience in #2537 - please follow along with that discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants