DS_Store in git, why ?

raviagheda

Ravi Agheda

Posted on June 15, 2023

DS_Store in git, why ?

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 😅 )

Image description

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.

💖 💪 🙅 🚩
raviagheda
Ravi Agheda

Posted on June 15, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

DS_Store in git, why ?
github DS_Store in git, why ?

June 15, 2023

How to keep your secrets off GitHub
webdev How to keep your secrets off GitHub

October 17, 2022

Searching on GitHub
webdev Searching on GitHub

December 14, 2020