- .*
- .*/
- rails-apps/*/tmp/
- rails-apps/*/log/
- rails-apps/**/.git*
- rails-apps/*/.git/
I have also tried this contents:
- .*
- .*/
- /var/www/rails-apps/*/tmp/
- /var/www/rails-apps/*/log/
- /var/www/rails-apps/**/.git*
- /var/www/rails-apps/*/.git/
However the following files (which I don't want backed up) are being backed up:
/var/www/rails-apps/osmx.staging/.git (directory)
/var/www/rails-apps/osmx.staging/.gitignore
/var/www/rails-apps/osmx.staging/vendor/plugins/.gitkeep
/var/www/rails-apps/osmx.staging/vendor/assets/stylesheets/.gitkeep
/var/www/rails-apps/osmx.staging/lib/tasks/.gitkeep
/var/www/rails-apps/osmx.staging/lib/assets/.gitkeep
/var/www/rails-apps/osmx.staging/test/integration/.gitkeep
/var/www/rails-apps/osmx.staging/test/functional/.gitkeep
/var/www/rails-apps/osmx.staging/test/unit/.gitkeep
/var/www/rails-apps/osmx.staging/test/fixtures/.gitkeep
/var/www/rails-apps/osmx.staging/.gitignore
/var/www/rails-apps/osmx.staging/app/models/.gitkeep
/var/www/rails-apps/osmx.staging/app/mailers/.gitkeep
What have I got wrong (so far neither the man page or Google have helped me)?
--
Robert Gauld
http://www.robertgauld.co.uk