I’m having trouble in visual studio where it sees .cache files as changes.
I added .cache extensions to my gitignore file, but no luck.
Example file path : obj/Debug/netcoreapp2.2/win7-x64/MyProject.assets.cache
I’m having trouble in visual studio where it sees .cache files as changes.
I added .cache extensions to my gitignore file, but no luck.
Example file path : obj/Debug/netcoreapp2.2/win7-x64/MyProject.assets.cache
According to this answer you can do the following commands:
First commit any code changes, and then, run this command:
git rm -r --cached .
This removes any changed files from staging area, then just run:
git add .
Commit it:
git commit -m "Your commit"