In the last few weeks, we have built AboutMyBrowser, WhatIsMyIP and a few other internal apps. We realized that the first thing we usually do, is copy
.gitignore file from SupportBee over to the new codebase.
This file has grown over the last two years. We primarily use Mac Vim as our editor. It creates swap files for each file you open in the editor. Also some gems create cache folders which should not be in your repository.
The intial aim of this post was to introduce ‘The Gitignore Project’; a collection
.gitignore files which can be globally used or can be OS or editor specific. But we found out the folks at Github have already done that! Fork it here