How to avoid .DS_Store file creation?

If you are a MacOS user then you must have seen creation of .DS_Store file automatically inside folders which is sometimes quite annoying. .DS_Store files store folder level meta data information. However that is completely fine in MacOS. But there is a work around to avoid creation of .DS_Store files if you are annoyed of it. Specially if you are a developer and those .DS_Store files are created … [Read more...]

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-650bff2cd8839231635209/] 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...]