github account #136235
-
|
I've lost my 2FA methods and personal access, but I still have my password and email. Despite this, I can still commit to my repositories from my terminal. Is there a way I can use this to recover my access? |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 6 replies
-
|
I believe that if you still have access to your account online you can deactivate 2FA and reactivate it with a separate 2FA method. |
Beta Was this translation helpful? Give feedback.
-
|
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:
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-account-if-you-lose-your-2fa-credentials If that all fails, try to contact github support for help... it's worth a shot, especially since you have the login and password. Hopefully this information helps! Best of luck! |
Beta Was this translation helpful? Give feedback.
-
|
Hello |
Beta Was this translation helpful? Give feedback.
-
|
Hallo |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
I believe that if you still have access to your account online you can deactivate 2FA and reactivate it. |
Beta Was this translation helpful? Give feedback.
-
|
Hi Support, I accidentally created a new account protonDev1 but I need to regain access to protonDev as it contains repositories important to my work. Please help me recover this account or transfer ownership of the repositories to my new account. Thank you! |
Beta Was this translation helpful? Give feedback.
-
|
Hii, support team, Github username : |
Beta Was this translation helpful? Give feedback.
-
|
I had also the same issue, you can raise ticket on github support from your offical mail id and ask them to deactive the MFA or you can use te KEY we got in the starting. |
Beta Was this translation helpful? Give feedback.
-
Touch and hold a clip to pin it. Unpinned clips will be deleted after 1 hour. |
Beta Was this translation helpful? Give feedback.
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/userThere 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…