DEV Community

DS_Store in git, why ?

Ravi Agheda on June 15, 2023

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 ign...
Collapse
 
jt89 profile image
jt89

since it misses the actual howto:
stackoverflow.com/a/107921

Collapse
 
raviagheda profile image
Ravi Agheda

Thanks for highlighting,
Technically same thing in the stackoverflow, it just remove and then add to .gitIgnore, but whether to remove or not is user's preferance.

Collapse
 
shrihari profile image
Shrihari Mohan

Oh it's a Mac file , never knew why it came on all my repos.