Method: Git::Lib#remote_set_url
- Defined in:
- lib/git/lib.rb
#remote_set_url(name, url)
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.
1406 1407 1408 1409 1410 1411 1412 |
# File 'lib/git/lib.rb', line 1406 def remote_set_url(name, url) arr_opts = ['set-url'] arr_opts << name arr_opts << url command('remote', *arr_opts) end |