问题
I have a .gitignore file.
One of my declarations is
**/bin/Debug/ **/obj/Debug/
But it's still picking up these files
回答1:
You need to tell git to remove the from the repository first.
git rm --cached bin/Debug
git rm --cached obj/Debug
Then commit changes.
来源:https://stackoverflow.com/questions/55342574/gitignore-isnt-ignoring-files-in-certain-folder