I have a github repository with a few .c, .s, .txt files, a Makefile and a .vscode and two .dSYM directories which have been created during debugging. I want to ignore these last three files. My .gitignore is the following:
*.vscode
*.dSYM
Both .dSYM files have a folder named Contents; my problem is that one (and only one!) of these folders is not ignored. Why does this happen? How can I solve this?
Link to my repository