Had similar problem, turned out the files were added to my cache. Clearing it with below command worked.
git rm --cached .vscode/settings.json
Reference to the issue on github where I found the solution.
Had similar problem, turned out the files were added to my cache. Clearing it with below command worked.
git rm --cached .vscode/settings.json
Reference to the issue on github where I found the solution.