I have just added .rubocop.yml file to my project and added it to .gitignore
file but when I do git status
it appears as modified. I have never added this file to my repository. Why is .gitignore
not ignoring this file?
project
app/ config/ .rubocop.yml
.gitignore
.rubocop.yml
Other files are ignored fine, for example, I also tried adding tags
file to the root of the project and adding it to .gitignore and it works.
Why is .gitignore
not ignoring .rubocop.yml
file?