I've a git repo where .DS_Store
files are already tracked. Is there a way to completely ignore theme in every folder?
I know that before being tracked I can simply put .DS_Store
in .gitignore
, but I also know that it doesn't work if .DS_Store
are already versioned.
You need to remove them from the repo using git rm
and then commit the changes.
git rm --cached "*.DS_Store"
git commit -m "remove all .DS_Store"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With