/build/support/003_tasks/windows/git.rb
Ruby | 11 lines | 10 code | 1 blank | 0 comment | 0 complexity | 186d4d0d82727b172215c5d22c008452 MD5 | raw file
Possible License(s): CC-BY-3.0
- namespace :git do
- desc 'set up the remotes for git'
- task :student_remotes do
- puts configatron.git.repo
- configatron.git.remotes.each do|remote|
- `git remote rm #{remote}`
- `git remote add #{remote} http://bitbucket.org/#{remote}/#{configatron.git.repo}`
- end
- end
- end