Skip to content
Discussion options

You must be logged in to vote

Hi Pediatra,

To start, since you can still commit from the terminal, begin by making sure to clone/backup any important repositories. This will ensure you don’t lose your work in case you lose access completely.

Then, try to generate a new personal access token — If your terminal is using a cached personal access token for authentication, theres a chance it may still be valid. You can try to use git commands to check if you can still interact with github, ie:

curl -H "Authorization: token YOUR_TOKEN" https://api.github.com/user

There is also a 2FA recovery page that may help: https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/recovering-your…

Replies: 10 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@ghostinhershell
Comment options

@notebook-t
Comment options

@notebook-t
Comment options

@HTony107
Comment options

Answer selected by Pediatra
Comment options

You must be logged in to vote
1 reply
@ghostinhershell
Comment options

Comment options

You must be logged in to vote
1 reply
@strongmankhar
Comment options

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New To GitHub 👋 New To GitHub Question Ask and answer questions about GitHub features and usage