Created
May 24, 2010 10:11
-
-
Save williamn/411720 to your computer and use it in GitHub Desktop.
Rails svn ignores
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
svn remove log/* | |
svn commit -m 'Removing log files' | |
svn propset svn:ignore "*.log" log/ | |
svn update log/ | |
svn commit -m 'Ignoring all files in /log/ ending in .log' | |
svn move config/database.yml config/database.example | |
svn commit -m 'Moving database.yml to database.example to provide a template for anyone who checks out the code' | |
svn propset svn:ignore "database.yml" config/ | |
svn update config/ | |
svn commit -m 'Ignoring database.yml' | |
svn remove tmp/* | |
svn propset svn:ignore "*" tmp/ | |
svn update tmp/ | |
svn commit -m 'Ignoring tmp/ content from now' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment