Permalink
Browse files

rake task to check out versions in the repos

  • Loading branch information...
1 parent d496f33 commit 08713c4c44ce6abc44a3987de650328c6cf1a3aa @dchelimsky dchelimsky committed Oct 19, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 Rakefile
View
6 Rakefile
@@ -111,6 +111,12 @@ namespace :git do
run_command "git pull --rebase"
end
+ desc 'git checkout repos'
+ task :checkout, :version do |t, args|
+ raise("rake git:checkout[VERSION]") unless args[:version]
+ run_command "git checkout #{args[:version]}"
+ end
+
task :st => :status
task :update => :pull

0 comments on commit 08713c4

Please sign in to comment.