Issue ignoring file for VCS
I'm trying to set VCS (Git/Github) to ignore my settings.json file. I've tried adding it to .gitignore and the "Ignored Files" section in settings. When I go to VCS > Commit Changes, it shows the ignored file as selected and it looks like it will be committed. Am I doing something incorrect, or is this a bug?
Thanks
Please sign in to leave a comment.
it is not a bug - .gitignore (as well as "Ignored Files" option) is not used when selecting files to commit, it is only used when adding files to GIT (ignored files are never suggested for addition). If the file is already in the repository, its content will still be tracked by GIT regardless of .gitignore settings.
I was able to fix my issue by running the following commands