4 attr_accessor :name, :url, :fetch_opts
8 def initialize(base, name)
10 config = @base.lib.config_remote(name)
13 @fetch_opts = config['fetch']
17 @base.remote_remove(@name)
24 # merge this remote locally
25 def merge(branch = 'master')
26 @base.merge("#{@name}/#{branch}")
29 def branch(branch = 'master')
30 Git::Branch.new(@base, "#{@name}/#{branch}")
34 @base.lib.remote_remove(@name)