I don't know if this is a bug or not: I added an application to my site using the admin console's 'upload from git repository' function. The repository I added was one I had previously created and pushed to Github. Its ".gitignore" file prevents the usual files and directories from being uploaded (*.pyc, sessions/*, cron/*, etc).
After making changes to the application, I pushed it back to the Github repository from within admin, but it added all of the items that should be ignored. This also happens when using git directly from the command line in the web2py-installed application. It does not happen, however, when I push from my original local repository to Github, even though the .gitignore files and permissions are exactly the same. I should add that I experienced the problem earlier and started to post this comment, but in trying to replicate it (upload from repository; a quick edit; push to repository), it initially worked. I don't know what might have happened in the meantime -- I haven't done anything git-related, just editing controllers and views. I'm using 2.2.1 --