I use source control while developing software. Apple’s OSX creates .DS_Stores files in any folder that you browse with Finder. These are normally hidden but they obviously aren’t ignored by version control which is designed track everything including hidden files. I could add them to the .ignore files in both Mercurial or Git – but this is time consuming and annoying.
Therefore, I installed asepsis which an lightweight opensource tool. This forces Mac to store all the .DS_store files in another location. It was quite straight forward to get going.
1. Download the software
2. Install it
3. Restart the computer
4. Migrate all the existing DS_store files using the command:
asepsisctl migratein
Hope this is helpful.