F483 / bikesurf.org

MIT License
8 stars 5 forks source link

Enhance gitignore file. #62

Closed serdardalgic closed 9 years ago

serdardalgic commented 9 years ago

are added to the gitignore file.

I'm testing to run the website on my local MacOS machine, so I wanted to contribute a few things to the source code.

Cheers! -Serdar

F483 commented 9 years ago

I'm rejecting this for the following reason. Instead of cluttering each .gitignore file with this you should have a global ignore file for git that you set in your git config.

See my global git ignore file and how I add it in my git config.

serdardalgic commented 9 years ago

As you wish. But in general, many projects are distributed with .gitignore file at the root too, like the dependencies of this project: Django, django-allauth, bleach, html5-lib, pilkit, requests etc..

The main idea behind this is (I guess) not to force everyone who clones the project to have a global .gitignore file, as the project may need different paths to ignore, and those paths may differ from one project to another. That's why I'd suggest having a separate .gitignore file within the project too.