Git .gitignore File

Hi

Want to setup a repo for suiteCRM, can anyone recommend a good .gitignore file?

Additionally, was planning on deploying code via capistrano, any suggestions on what to deploy? I would assume there is some caching folder and db configuration files that need to be linked in certain ways

Any tips would be appreciated

Regards
Brendan

So I found this : https://github.com/github/gitignore/blob/master/SugarCRM.gitignore

Will see how this goes for now.

Still looking for any ideas about capistrano deployment