From: Robert Pluim <rpluim@gmail.com>
To: "Samuel Banya" <sbanya@fastmail.com>
Cc: Emanuel Berg <help-gnu-emacs@gnu.org>,
Leo Butler <leo.butler@umanitoba.ca>
Subject: Re: Issues With Trying To Use Magit Mode For GitHub Repos Via SSH Key
Date: Thu, 06 Jan 2022 10:20:55 +0100 [thread overview]
Message-ID: <87h7ah8bk8.fsf@gmail.com> (raw)
In-Reply-To: <90480d95-d69e-432a-8fca-6250cbc08c1c@www.fastmail.com> (Samuel Banya's message of "Wed, 05 Jan 2022 19:25:32 -0500")
>>>>> On Wed, 05 Jan 2022 19:25:32 -0500, "Samuel Banya" <sbanya@fastmail.com> said:
Samuel> I tried this:
Samuel> [core]
Samuel> repositoryformatversion = 0
Samuel> filemode = true
Samuel> bare = false
Samuel> logallrefupdates = true
Samuel> [remote "origin"]
Samuel> url = https://github.com/SamuelBanya/SimpleSynth ssh://github.com/SamuelBanya/SimpleSynth.git
Samuel> fetch = +refs/heads/*:refs/remotes/github/*
Samuel> [branch "main"]
Samuel> remote = origin
Samuel> merge = refs/heads/main
Samuel> Yet, when I use 'p' and 'u' in Magit Mode, I get this error:
Samuel> 128 git … push -v origin main\:refs/heads/main
Samuel> Pushing to https://github.com/SamuelBanya/SimpleSynth ssh://github.com/SamuelBanya/SimpleSynth.git
Samuel> fatal: unable to access 'https://github.com/SamuelBanya/SimpleSynth
Samuel> ssh://github.com/SamuelBanya/SimpleSynth.git/': URL using bad/illegal
Samuel> format or missing URL
Samuel> Any ideas on what to do in that case?
You've specified two urls in the 'url' field. I suggest you stick to
just the 'ssh' one.
Robert
--
prev parent reply other threads:[~2022-01-06 9:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-29 17:23 Issues With Trying To Use Magit Mode For GitHub Repos Via SSH Key Samuel Banya
2022-01-03 0:25 ` Leo Butler
2022-01-06 0:25 ` Samuel Banya
2022-01-06 9:20 ` Robert Pluim [this message]
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=87h7ah8bk8.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=leo.butler@umanitoba.ca \
--cc=sbanya@fastmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.