Skip to content

remote remove doesn't work #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bcardarella opened this issue Apr 16, 2012 · 2 comments
Closed

remote remove doesn't work #41

bcardarella opened this issue Apr 16, 2012 · 2 comments
Milestone

Comments

@bcardarella
Copy link

r.remove
Git::GitExecuteError: git remote "rm" "--" "staging"  2>&1:usage: git remote rm <name>

If I do the following I can get it to work

git.lib.send(:command, 'remote', ['rm', 'staging'])

It seems git doesn't like the '--'

I am on git 1.7.7.3

I will try updating to the latest git and trying again.

@bcardarella
Copy link
Author

Just confirmed with 1.7.10

It seems the quick fix is to just remove the '--' element in the command array but I'm guessing it was put there for a reason so I'll leave it up to you guys to decide how to handle.

@robertodecurnex
Copy link
Contributor

Fixed on #42
Ty!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants