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-61a5c53066ab8734208356/] 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...]