Re: Unable to change remote url of origin
On Mär 27 2019, Petr Bena <petr@bena.rocks> wrote:
Show 19 quoted lines
> # Display remote URL
>
> petr.bena@MacBook:~/Documents/grumpy$ git remote -v
> origin git@github.com:grumpy-irc/grumpy (fetch)
> origin git@github.com:grumpy-irc/grumpy (push)
>
> #Now change it to HTTPS instead of SSH
>
> petr.bena@MacBook:~/Documents/grumpy$ git remote set-url origin
> https://github.com/grumpy-irc/grumpy
>
> # Verify if it has changed
>
> petr.bena@MacBook:~/Documents/grumpy$ git remote -v
> origin git@github.com:grumpy-irc/grumpy (fetch)
> origin git@github.com:grumpy-irc/grumpy (push)
>
>
> It's still SSH. What am I doing wrong?
Do you have a URL rewrite rule (url.*.insteadof)?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."