.gitignore files for web2py, for repos at the application or site level:
Application-level repo:
*.pyc cache/ databases/* errors/ sessions/ private/ uploads/* .hg/
Site-level repo:
*.pyc /* /*/ !.gitignore !routes.py !README /applications/*/cache/ /applications/*/databases/* /applications/*/errors/ /applications/*/sessions/ /applications/*/private/ /applications/*/uploads/* /applications/*/.hg/ !/applications/ ### To include only specific apps, uncomment: #/applications/* #!/applications/{myapp}/
Credit:
Comments (1)
0
dblandin 12 years ago
Would it make sense to add *.bak to filter out backup files?