From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Issues With Trying To Use Magit Mode For GitHub Repos Via SSH Key Date: Thu, 06 Jan 2022 10:20:55 +0100 Message-ID: <87h7ah8bk8.fsf@gmail.com> References: <5d4776dd-2e6a-47c7-82db-2cf3c4d46324@www.fastmail.com> <87v8z1hdhy.fsf@t14.reltub.ca> <90480d95-d69e-432a-8fca-6250cbc08c1c@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20151"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emanuel Berg , Leo Butler To: "Samuel Banya" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 06 10:21:34 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n5Oxi-00052j-Qt for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 06 Jan 2022 10:21:34 +0100 Original-Received: from localhost ([::1]:44584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5Oxh-0003Sm-OH for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 06 Jan 2022 04:21:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5OxF-0003Sb-Ky for help-gnu-emacs@gnu.org; Thu, 06 Jan 2022 04:21:05 -0500 Original-Received: from [2a00:1450:4864:20::32f] (port=54203 helo=mail-wm1-x32f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5Ox9-0006Au-Ey for help-gnu-emacs@gnu.org; Thu, 06 Jan 2022 04:21:00 -0500 Original-Received: by mail-wm1-x32f.google.com with SMTP id l4so1308400wmq.3 for ; Thu, 06 Jan 2022 01:20:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=Ur7LDL4T8Jzzlh3H093BlVfcxvT4gYq5YG6Kf9YYbR0=; b=cDaUCwxmzev/C4ZUeYPrOSZlfU0vIyExSQfxy3o7OTq9m2fCtJa1MDW1ObFQjrOzjx UoEZKQeHOa+/NIbSsP9YW24gh31JKWXR1y9PsoOyHxyZn9C8Gk9/F+bOs0BArxaTB4WP 1RhAifSJnYcGynYOWpe/0rk+EBkwvD1t2P/m4Hny/Kcr5ijrz09y5vvdq8fHo/KO9P+H uip5lKCDYh62ksa4MS2cR9ZovFkMrr6tihgf97ZyyI3iA3SykwoZXnE+rnD7+BMFQFVv 71aNuhwioxNJwtRnLyiMtw0o4U5r0HSMsOkLVHQK32MYSD40tBsYzxO9t4FzuSPCVGbv JDwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=Ur7LDL4T8Jzzlh3H093BlVfcxvT4gYq5YG6Kf9YYbR0=; b=C2Eeh/bZB6RrL97XwP4IglnbqKjn2ndpFFrnipdfxpInwovmD8QZ+ZPJ2XP1+xuNFa yZlUPplq/fUcX9q8I4trZJA6ir4JLUXxVNaEnE0U708rH8sU/Mor2GU6My8KPBzi0t3f P0CK9MhsdYjqfpRZiJJJUDUIYQl4X+Kdqu+FAaDQ+aPp+3uUfG5Vzo1sJ6U3R5FXl7dj fr0rkKEXdDXUa4xh/GAuMy2nFBiYSjB2J/vE+y1VxPL6Lfw0mloTnVGEP8n9KFQgxUrz lEBwSbmo4xg1Plt5LNComElJoF/Iw5k1jrFLD7T0sH3Uw/JVz0BNhbO2B4OGKKXmac17 4sFw== X-Gm-Message-State: AOAM530fDzmJCDmYI8OwihCKgu51fuD43loC7ZdUHY2Gy4zLpNvFgzjH prgF3nK2kA3Sk6hOkp4GaITgtm9h5ik= X-Google-Smtp-Source: ABdhPJxkNKXqZ8DFGj6exME0xwDGLe1nUnq4CrSsiLOiMOlvzey9wN4chxQ7M3FCi3nT2S0mcrt1zw== X-Received: by 2002:a05:600c:4f13:: with SMTP id l19mr6290893wmq.152.1641460857253; Thu, 06 Jan 2022 01:20:57 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:7578:a27a:740a:921a]) by smtp.gmail.com with ESMTPSA id q14sm1484662wro.58.2022.01.06.01.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 01:20:56 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <90480d95-d69e-432a-8fca-6250cbc08c1c@www.fastmail.com> (Samuel Banya's message of "Wed, 05 Jan 2022 19:25:32 -0500") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32f (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135118 Archived-At: >>>>> On Wed, 05 Jan 2022 19:25:32 -0500, "Samuel Banya" said: Samuel> I tried this: Samuel> [core] Samuel> repositoryformatversion =3D 0 Samuel> filemode =3D true Samuel> bare =3D false Samuel> logallrefupdates =3D true Samuel> [remote "origin"] Samuel> url =3D https://github.com/SamuelBanya/SimpleSynth ssh://github= .com/SamuelBanya/SimpleSynth.git Samuel> fetch =3D +refs/heads/*:refs/remotes/github/* Samuel> [branch "main"] Samuel> remote =3D origin Samuel> merge =3D refs/heads/main Samuel> Yet, when I use 'p' and 'u' in Magit Mode, I get this error: Samuel> 128 git =E2=80=A6 push -v origin main\:refs/heads/main Samuel> Pushing to https://github.com/SamuelBanya/SimpleSynth ssh://git= hub.com/SamuelBanya/SimpleSynth.git Samuel> fatal: unable to access 'https://github.com/SamuelBanya/SimpleS= ynth Samuel> ssh://github.com/SamuelBanya/SimpleSynth.git/': URL using bad/i= llegal 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 --=20