Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Improve CLI instructions for 2FA #45

Open
hectorsector opened this issue Jul 8, 2020 · 0 comments
Open

Improve CLI instructions for 2FA #45

hectorsector opened this issue Jul 8, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request Hacktoberfest markdown update Request for change to markdown

Comments

@hectorsector
Copy link
Member

Suggested by @aryansharma1323 in the community forum:

So I finished Introduction to GitHub course using Web UI and now doing it on CLI. In the section “Commit a file”, I was stuck on the error

remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/username/repository.git/'
despite having right username and password. Turned out I have two-factor authentication enabled which is why I couldn’t access. To find a way around this error, I went to the Developer Settings in the Settings section, generated a token from the “Personal Access Tokens” section, and used it as password in the CLI. By using that personal access token, I could log in and push the changes.

It would be great if the course had something that helped first-time users overcome this issue. Please let me know where I can suggest these changes to the course.

@davenowell davenowell self-assigned this Jul 29, 2020
@brianamarie brianamarie added enhancement New feature or request markdown update Request for change to markdown labels Jul 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request Hacktoberfest markdown update Request for change to markdown
Projects
None yet
Development

No branches or pull requests

3 participants