I've followed the steps here to remove all my files from git tracking and then added them back to be tracked. After running git status --ignored
I could now see the files being ignored, which was what I was trying to fix. Originally, there were several files not being ignored.
Unfortunately, it seems as if that only fixes it on my machine. I committed the code to origin master
but everyone downloaded the repository a few weeks ago. What is the best way to ensure everyone is ignoring the same files? Do they just need to run the commands I provided in the above link or is there an easier way to do this?
Also, what about several branches that were created prior to this change? When I checkout the existing branches they are not showing all the files that should be ignored. Do I need to apply this command to each one of the branches as well?