Re: Unable to change remote url of origin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mär 27 2019, Petr Bena <petr@bena.rocks> wrote:

> # Display remote URL
>
> petr.bena@MacBook:~/Documents/grumpy$ git remote -v
> origin    git@xxxxxxxxxx:grumpy-irc/grumpy (fetch)
> origin    git@xxxxxxxxxx: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@xxxxxxxxxx:grumpy-irc/grumpy (fetch)
> origin    git@xxxxxxxxxx: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@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux