Skip to content

Comment on A Collection of Useful .gitignore Templates

Comments

If you are using Django/Python, it might be useful to add *.pyc to your gitignore. These are compiled python files.

Also, if you're developing on a Mac, it would also be useful to add .DS_Store. It's an invisible file, and it just stores some properties of that directory,

I believe these are already covered:

  https://github.com/github/gitignore/blob/master/Python.gitignore

  https://github.com/github/gitignore/blob/master/Global/OSX.gitignore

Yeah, I only looked at the Django gitignore.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.