I have cloned a project that includes some .csproj files. I don\'t need/like my local csproj files being tracked by Git (or being brought up when c
.csproj
csproj
The accepted answer still did not work for me
I used
git rm -r --cached . git add . git commit -m "fixing .gitignore"
git rm -r --cached .
git add .
git commit -m "fixing .gitignore"
Found the answer from here