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-5fc3d00261bd9577853135/] 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...]