You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Git requests Password when GitHub actually requires Auth Token #1407
When you are asked to re-authenticate to GitHub from the Git command line it will ask you for your username and password. In this case, your username is your Git username (not your GitHub username) and your password will not work (because of 2FA), instead you will need to enter your GitHub auth token.
Proposed fix: Language in the Git command line should be updated so that it is not nonsense.
But I see your point; I know very little about the maintenance of Git and its likely that this would have to be addressed directly in Git. I am not sure if the GitHub team is involved in active maintenance of Git.
changed the title [-]GitHub CLI says enter your Username and Password when it actually wants Email and Auth Token[/-][+]Git requests Password when GitHub actually requires Auth Token[/+]on Nov 9, 2018
When prompted for a username and password on the command line, use your GitHub username and personal access token. The command line prompt won't specify that you should enter your personal access token when it asks for your password.
Activity
NobbZ commentedon Nov 9, 2018
What is GitHub CLI?
corsonknowles commentedon Nov 9, 2018
CLI = Command Line Interface
When you connect to GitHub from Terminal, Z shell, a unix prompt, etc..
corsonknowles commentedon Nov 9, 2018
But I see your point; I know very little about the maintenance of Git and its likely that this would have to be addressed directly in Git. I am not sure if the GitHub team is involved in active maintenance of Git.
[-]GitHub CLI says enter your Username and Password when it actually wants Email and Auth Token[/-][+]Git requests Password when GitHub actually requires Auth Token[/+]corsonknowles commentedon Nov 9, 2018
This confusion is actually documented here:
https://help.github.com/articles/accessing-github-using-two-factor-authentication/#using-two-factor-authentication-with-the-command-line
I think the first sentence is inaccurate though.
NobbZ commentedon Nov 18, 2018
I know what a CLI is, but I'm not aware of a GitHub CLI. That's why I'm asking.
erkinalp commentedon Nov 18, 2018