Skip to content

Instantly share code, notes, and snippets.

@bluefuton
Created April 7, 2010 10:45
Show Gist options
  • Save bluefuton/358737 to your computer and use it in GitHub Desktop.
Save bluefuton/358737 to your computer and use it in GitHub Desktop.
Subversion: Rake task to mark any new files as added
namespace :svn do
desc "Subversion: mark any new files as added"
task :add do
system "svn status | grep '^\?' | sed -e 's/? *//' | sed -e 's/ /\ /g' | xargs svn add"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment