Problemas al hacer un git remote set-url
En ocasiones al hacer un git remote set-url podemos encontrarnos con una respuesta como la siguiente:
rgascon@xxxxxxxxx:/var/www/xxxxxx/frontend# git remote set-url https://rgascon@xxxxxxxxx/git/xxxxxx/xxxxxx/frontend
usage: git remote set-url [--push] <name> <newurl> [<oldurl>] or: git remote set-url --add <name> <newurl>
or: git remote set-url --delete <name> <url>
--push manipulate push URLs
--add add URL
--delete delete URLs
La solucion es tan sencilla como colocar un origin delante, del siguiente modo:
git remote set-url origin https://rgascon@xxxxxxxxx/git/xxxxxx/xxxxxx/frontend
Claro esta, sustituyendo las «x» por nuestra URL
Fuente: http://stackoverflow.com/a/2432799