Method: Git::Lib#config_remote

Defined in:
lib/git/lib.rb

#config_remote(name)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



1034
1035
1036
1037
1038
1039
1040
# File 'lib/git/lib.rb', line 1034

def config_remote(name)
  hsh = {}
  config_list.each do |key, value|
    hsh[key.gsub("remote.#{name}.", '')] = value if /remote.#{name}/.match(key)
  end
  hsh
end