stsievert / swix

Swift Matrix Library
http://docs.stsievert.com/swix/
MIT License
593 stars 54 forks source link

Ignore user .DS_Stores #18

Closed Jxrgxn closed 8 years ago

Jxrgxn commented 8 years ago

First removed .DS_Store from Git tracking. Then added .DS_Store to .gitignore.

The file has nothing to do with the code that is being tracked in git. It contains custom attributes set on the containing folder in the Finder. Unless those custom attributes are relevant to the code, that file is just noise. Additionally, if the file is not ignored and gets checked in unintentionally and later two devs each decide to put say, pretty custom icons on the folder (for whatever reason), then you could end up with a merge conflict on a binary file.

stsievert commented 8 years ago

Thanks! Merged.

stsievert commented 8 years ago

I don't see any .DS_Store's in the repo already -- this didn't remove those, correct?