[llvm-dev] Workflow to commit changes using git alone (?)

Shoaib Meenai via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 14 11:16:27 PST 2019

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
        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.
        LLVM Developers mailing list
        llvm-dev at lists.llvm.org

More information about the llvm-dev mailing list