diff --git a/lib/git/lib.rb b/lib/git/lib.rb index 52fb2e6c..e6a52464 100644 --- a/lib/git/lib.rb +++ b/lib/git/lib.rb @@ -538,7 +538,7 @@ def remote_add(name, url, opts = {}) # this is documented as such, but seems broken for some reason # i'll try to get around it some other way later def remote_remove(name) - command('remote', ['rm', '--', name]) + command('remote', ['rm', name]) end def remotes