(belated) thanks for this information. It wasn’t obvious. Craig
> On Jan 19, 2016, at 2:10 AM, Tony Stevenson <t...@pc-tony.com> wrote: > > If you have 2fa (MFA) enabled your password is not the password that the git > client needs. You will find the correct token, > https://github.com/settings/tokens here by creating a personal access token. > Which can be used when committing/pushing from the CLI. > > -- > Cheers, > Tony > > ----------------------- > t...@pc-tony.com > http://www.pc-tony.com > GPG - 3072D/2543E323 > ----------------------- > >> On 19 Jan 2016, at 01:49, Sam Ruby <ru...@intertwingly.net> wrote: >> >> On Mon, Jan 18, 2016 at 8:27 PM, Craig L Russell <c...@apache.org> wrote: >>> I tried again with a different url and it still failed. >>> >>> Password for 'https://clr-apa...@github.com': >>> remote: Invalid username or password. >>> fatal: Authentication failed for >>> 'https://clr-apa...@github.com/apache/whimsy/' >>> >>> Do I need to branch the repository differently? >> >> I'll describe what worked for me. >> >> First, I uploaded my ssh key to github. Follow these instructions: >> >> https://help.github.com/articles/generating-ssh-keys/#step-4-add-your-ssh-key-to-your-account >> >> You can start at step 4 as you already have a key (RSA preferred, but >> DSA is accepted). >> >> Next, go to your whimsy clone directory, and execute the following command: >> >> git remote set-url origin g...@github.com:apache/whimsy.git >> >> (Note: instead of looking up this command every time, I do this by >> editing .git/config directly which is safe to do). >> >> You can verify that you have configured this correctly by issuing: >> >> $ git remote -v >> origin g...@github.com:apache/whimsy.git (fetch) >> origin g...@github.com:apache/whimsy.git (push) >> >> At this point, both "git pull" and "get push" should both work. >> >> - Sam Ruby >> >> >>>> On Jan 18, 2016, at 3:39 PM, Craig L Russell <c...@apache.org> wrote: >>>> >>>> I'm trying to push a change to whimsy and I'm getting remote >>>> authentication failure: >>>> >>>> clr% git push >>>> Password for 'https://clr-apa...@github.com': >>>> remote: Invalid username or password. >>>> fatal: Authentication failed for >>>> 'https://clr-apa...@github.com/apache/whimsy.git/' >>>> >>>> I have changed my password. I'm able to sign in to github.com with 2fa >>>> (text to phone). But cannot push. >>>> >>>> Any ideas? >>>> >>>> Thanks, >>>> >>>> Craig >>>> >>>> Craig L Russell >>>> Secretary, Apache Software Foundation >>>> c...@apache.org http://db.apache.org/jdo >>>> >>>> >>>> >>> >>> Craig L Russell >>> Secretary, Apache Software Foundation >>> c...@apache.org http://db.apache.org/jdo >>> >>> >>> >