How to delete .DS_Store from an existing git repository?

If you are using Mac OS for development then you must have seen .DS_Store files created automatically which is quite painful. However there is a work around to delete it from an existing git repository using following few commands. [crayon-6513bc8dd7058680661955/] Above command will delete all .DS_Store files, and now you can add in .gitignore file to avoid commit of this file in … [Read more...]