We Recommend

Version Control with Subversion Version Control with Subversion
Written by members of the Subversion open source development team, Version Control with Subversion introduces the powerful new versioning tool designed to be the successor to the Concurrent Version System or CVS. CVS users will find the "look and feel" Subversion comfortably familiar, but under the surface it's far more flexible, robust, and usable, and more importantly, it improves on CVS's more notable flaws.


Posted By

spider on 02/03/07


Tagged

svn rails ruby application repository


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

SamuelMiller


Add RubyOnRails application to svn repository


Published in: SVN 


  1. svn add . --force
  2. svn ci -m "initial rails import"
  3. svn up
  4. svn remove log/*
  5. svn commit -m "removing all log files from subversion"
  6. svn propset svn:ignore "*.*" log/
  7. svn update log/
  8. svn ci -m "Ignoring all files in /log/ ending in .log"
  9. svn up
  10. svn add config/lighttpd.conf
  11. svn ci -m "added lighttpd conf file"
  12. svn up
  13. svn move config/database.yml config/database.example
  14. svn commit -m "Moving database.yml to database.example to provide a template for anyone who checks out the code"
  15. svn propset svn:ignore "database.yml" config/
  16. svn update config/
  17. svn commit -m "Ignoring database.yml"
  18. svn remove tmp/*
  19. svn propset svn:ignore "*" tmp/
  20. svn update tmp/
  21. svn commit -m "ignore tmp/ content from now"

Report this snippet 

You need to login to post a comment.