DS_Store in git, why?

DS_Store in git, why?

·

1 min read

Mac user generally face this issue where .DS_Store file gets generated automatically and pops up in the git changes ( unless you've added it in ignore 😅 )

What is DS_Store?

  • It known as Desktop Services Store and it holds meta information about your folder’s thumbnails, settings, etc.

Why?

  • These files are created any time you navigate to a file or folder from the Finder on a Mac.

How to get rid of it?

  • Probably you already know the solution, .gitignore

Thank you for reading the short blog.

Â