[llvm-dev] Workflow to commit changes using git alone (?)
Robinson, Paul via llvm-dev
llvm-dev at lists.llvm.org
Thu Nov 14 11:36:01 PST 2019
Thanks! I had to generate a new key pair--not sure what happened but
it probably got messed up when I moved to a new PC a few weeks ago.
But with that and the URL trick, the push worked this time.
> -----Original Message-----
> From: Shoaib Meenai <smeenai at fb.com>
> Sent: Thursday, November 14, 2019 2:16 PM
> To: Robinson, Paul <paul.robinson at sony.com>; 'llvm-dev at lists.llvm.org'
> <llvm-dev at lists.llvm.org>
> Subject: Re: [llvm-dev] Workflow to commit changes using git alone (?)
> Also, running with something like GIT_SSH_COMMAND="ssh -v" can be useful
> to diagnose potential SSH issues. Again though, not sure how well that
> works for Windows.
> On 11/14/19, 11:02 AM, "Shoaib Meenai" <smeenai at fb.com> wrote:
> If you want to use your key to authenticate, you need to set your
> remote URL to the SSH one:
> git remote set-url --push origin git at github.com:llvm/llvm-project.git
> You can get the SSH URL by going to https://github.com/llvm/llvm-
> project/ and clicking on Clone or download to get the appropriate URL ...
> it should give you the option to Clone with SSH.
> I've not had a ton of luck with HTTPS authentication, but SSH has
> worked pretty well. I don't know how true that holds for Windows though.
> On 11/14/19, 10:55 AM, "llvm-dev on behalf of Robinson, Paul via llvm-
> dev" <llvm-dev-bounces at lists.llvm.org on behalf of llvm-
> dev at lists.llvm.org> wrote:
> Sigh... okay now it's my turn to wonder what obvious mistake I
> > git push -v
> Pushing to https://github.com/llvm/llvm-project.git
> remote: Invalid username or password.
> fatal: Authentication failed for 'https://github.com/llvm/llvm-
> I was kind of expecting it to prompt me... here are some possibly
> relevant git-config settings:
> user.name=Paul Robinson
> user.email=paul.robinson at sony.com
> I haven't put my github account name in anywhere, am I supposed
> I do have a key set on the account, but I might have messed up
> trying to put it in a right place on my Windows system.
> FTR the website instructions still talk about using "git llvm
> which IIUC is Not A Thing anymore.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
More information about the llvm-dev