[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.
--paulr

> -----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
> made.
> 
>         > 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-
> project.git/'
> 
>         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
>         remote.origin.url=https://github.com/llvm/llvm-project.git
> 
>         I haven't put my github account name in anywhere, am I supposed
> to?
>         I do have a key set on the account, but I might have messed up
> when
>         trying to put it in a right place on my Windows system.
>         FTR the website instructions still talk about using "git llvm
> push"
>         which IIUC is Not A Thing anymore.
> 
>         Thanks,
>         --paulr
> 
>         _______________________________________________
>         LLVM Developers mailing list
>         llvm-dev at lists.llvm.org
>         https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__lists.llvm.org_cgi-2Dbin_mailman_listinfo_llvm-
> 2Ddev&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=tCtJZFK
> XR6ZBxmqfdPPc5Rlq4KrHFSfF_msBLD5CM2o&s=U15_l_8dpYafFF0VYL29EfMczDnlvdqYxNh
> sE17KZos&e=
> 
> 
> 



More information about the llvm-dev mailing list