PageRenderTime 72ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 0ms

/build/support/003_tasks/windows/git.rb

https://bitbucket.org/calebp13/app
Ruby | 11 lines | 10 code | 1 blank | 0 comment | 0 complexity | 186d4d0d82727b172215c5d22c008452 MD5 | raw file
Possible License(s): CC-BY-3.0
  1. namespace :git do
  2. desc 'set up the remotes for git'
  3. task :student_remotes do
  4. puts configatron.git.repo
  5. configatron.git.remotes.each do|remote|
  6. `git remote rm #{remote}`
  7. `git remote add #{remote} http://bitbucket.org/#{remote}/#{configatron.git.repo}`
  8. end
  9. end
  10. end