See [1] and [2]
Thank you,
Vlad
[1]
https://help.github.com/articles/providing-your-2fa-authentication-code/#when-youll-be-asked-for-a-personal-access-token-as-a-password
[2]
https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
On 5/9/18 16:12, Boaz Ben-Zvi wrote:
Note *committers* , in case you get the same error:
After successfully enabling the needed Two Factor Authentication (2FA), my “git
push” started failing, like:
~/drill > git push origin
Username for 'https://github.com': ben-zvi
Password for 'https://[email protected]':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/Ben-Zvi/drill.git/'
The solution: Need to enter a personal access token instead of the github
password.
To generate a personal access token, go to https://github.com/settings/tokens
The token is a long hash code ; just copy and paste it as a password.
Thanks,
Boaz
On 5/3/18, 11:36 AM, "Parth Chandra" <[email protected]> wrote:
Note to all the *committers* -
Gitbox integration has been enabled. This means you can merge in a PR
directly from Github. (i.e. the apache/drill repository on github is now
the master repository, and is writable. (It is no longer a mirror).
This also means that the original git-wip repository will not be available
and pushing to this repository will not achieve anything useful.
[IMPORTANT] Please visit https://urldefense.proofpoint.com/v2/url?u=https-3A__gitbox.apache.org_setup_&d=DwIBaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=EqulKDxxEDCX6zbp1AZAa1-iAPQGgCioAqgDp7DE2BU&m=eWZe_PpBWgOlhFxb0vKBmQ0-DhAbSxF_WoJ8rg8dT9U&s=fsXeKdxWoc0QL7vvlOPkm4D4aiyv_gLn0IM1oP8s7TM&e= to setup 2FA if
you'd like to use GitHub as a remote [email protected]:apache/drill.git
You can also use GitBox as a remote
https://urldefense.proofpoint.com/v2/url?u=https-3A__gitbox.apache.org_repos_asf_drill.git&d=DwIBaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=EqulKDxxEDCX6zbp1AZAa1-iAPQGgCioAqgDp7DE2BU&m=eWZe_PpBWgOlhFxb0vKBmQ0-DhAbSxF_WoJ8rg8dT9U&s=DOiW8QP9zBVK4JKcS-aDmTsrOvQJu7syQgTWpCRi2zM&e=
Same thing for drill-site [email protected]:apache/drill-site.git or
https://urldefense.proofpoint.com/v2/url?u=https-3A__gitbox.apache.org_repos_asf_drill-2Dsite.git&d=DwIBaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=EqulKDxxEDCX6zbp1AZAa1-iAPQGgCioAqgDp7DE2BU&m=eWZe_PpBWgOlhFxb0vKBmQ0-DhAbSxF_WoJ8rg8dT9U&s=XKrIn1R2oXPsF_Y4OPadWjIeRQXAOv7BJgEi-qWY-Kg&e=
[IMPORTANT] - The github UI currently enables the option to "Create a merge
commit" . Please *do not* use this option. Click on the drop down and chose
the "rebase and merge" or "squash and merge" option
@vrozov is the expert on this, so if you run into difficulties please
include him in the communication. (Better still just post on the list).
Thanks
Parth