git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Petr Bena <petr@bena.rocks>
Cc: git@vger.kernel.org
Subject: Re: Unable to change remote url of origin
Date: Wed, 27 Mar 2019 19:55:41 +0100	[thread overview]
Message-ID: <87ef6sb102.fsf@igel.home> (raw)
In-Reply-To: <7b30ebfd-4f85-0fa7-8e66-7e63d7cb52d9@bena.rocks> (Petr Bena's message of "Wed, 27 Mar 2019 13:25:27 +0100")

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

> # 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."

  parent reply	other threads:[~2019-03-27 18:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-27 12:25 Unable to change remote url of origin Petr Bena
2019-03-27 12:57 ` Kevin Daudt
2019-03-27 13:01   ` Petr Bena
2019-03-27 18:55 ` Andreas Schwab [this message]
2019-03-28  9:05   ` Petr Bena
2019-03-28 11:57     ` Petr Bena

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ef6sb102.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=git@vger.kernel.org \
    --cc=petr@bena.rocks \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).