github.com - 教程
<style>pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", monospace !important; font-size: 14px !important; line-height: 1.6 !important; padding: 16px !important; margin: 16px 0 !important; background-color: rgba(248, 248, 248, 1) !important; border: 1px solid rgba(225, 228, 232, 1) !important; border-radius: 6px !important; tab-size: 4 !important; -moz-tab-size: 4 !important; max-width: 100% !important; box-sizing: border-box !important }code { font-family: "Consolas", "Monaco", "Courier New", monospace !important; font-size: 14px !important; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow-wrap: normal !important; display: inline !important; background: rgba(0, 0, 0, 0) !important; border: none !important; padding: 0 !important; margin: 0 !important; line-height: inherit !important }
pre code { background: rgba(0, 0, 0, 0) !important; border: 0 !important; border-radius: 0 !important; display: block !important; line-height: 1.6 !important; margin: 0 !important; max-width: none !important; overflow: visible !important; padding: 0 !important; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; color: inherit !important }
.token.comment, .token.prolog, .token.doctype, .token.cdata { color: rgba(112, 128, 144, 1) !important; font-style: italic !important }
.token.punctuation { color: rgba(153, 153, 153, 1) !important }
.token.atrule, .token.attr-value, .token.keyword { color: rgba(0, 119, 170, 1) !important; font-weight: bold !important }
.token.function, .token.class-name { color: rgba(221, 74, 104, 1) !important; font-weight: bold !important }
.token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: rgba(102, 153, 0, 1) !important }
.token.property, .token.tag, .token.boolean, .token.number, .token.constant, .token.symbol, .token.deleted { color: rgba(153, 0, 85, 1) !important }
.cnblogs-markdown pre, .cnblogs-post-body pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; background-color: rgba(248, 248, 248, 1) !important; border: 1px solid rgba(225, 228, 232, 1) !important; border-radius: 6px !important; padding: 16px !important; margin: 16px 0 !important }
pre, pre, pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important }</style>
<style>pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", monospace !important; font-size: 14px !important; line-height: 1.6 !important; padding: 16px !important; margin: 16px 0 !important; background-color: rgba(248, 248, 248, 1) !important; border: 1px solid rgba(225, 228, 232, 1) !important; border-radius: 6px !important; tab-size: 4 !important; -moz-tab-size: 4 !important; max-width: 100% !important; box-sizing: border-box !important }
code { font-family: "Consolas", "Monaco", "Courier New", monospace !important; font-size: 14px !important; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow-wrap: normal !important; display: inline !important; background: rgba(0, 0, 0, 0) !important; border: none !important; padding: 0 !important; margin: 0 !important; line-height: inherit !important }
pre code { background: rgba(0, 0, 0, 0) !important; border: 0 !important; border-radius: 0 !important; display: block !important; line-height: 1.6 !important; margin: 0 !important; max-width: none !important; overflow: visible !important; padding: 0 !important; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; color: inherit !important }
.token.comment, .token.prolog, .token.doctype, .token.cdata { color: rgba(112, 128, 144, 1) !important; font-style: italic !important }
.token.punctuation { color: rgba(153, 153, 153, 1) !important }
.token.atrule, .token.attr-value, .token.keyword { color: rgba(0, 119, 170, 1) !important; font-weight: bold !important }
.token.function, .token.class-name { color: rgba(221, 74, 104, 1) !important; font-weight: bold !important }
.token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: rgba(102, 153, 0, 1) !important }
.token.property, .token.tag, .token.boolean, .token.number, .token.constant, .token.symbol, .token.deleted { color: rgba(153, 0, 85, 1) !important }
.cnblogs-markdown pre, .cnblogs-post-body pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; background-color: rgba(248, 248, 248, 1) !important; border: 1px solid rgba(225, 228, 232, 1) !important; border-radius: 6px !important; padding: 16px !important; margin: 16px 0 !important }
pre, pre, pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important }</style><div class="htmledit_views atom-one-light" id="content_views"><p>Virtual Assistant avatar<br>If you lose access to your two-factor authentication credentials, you can use your recovery codes, or another recovery option, to regain access to your account. I can help you understand what options are available to you. Are you having trouble with two-factor authentication (2FA), or something else?</p><p><br>I'm having trouble signing in with 2FA<br>Virtual Assistant avatar<br>Let's troubleshoot or review your recovery options. You should note that recovering access to your account is something that you can do without our help. For security reasons, GitHub Support cannot help you bypass two-factor authentication. I can guide you through the process, but you'll need to complete the steps yourself.</p><p>I understand<br>Virtual Assistant avatar<br>To begin, what is the username of the account? If you're not sure, try these methods for remembering your username.</p><p>myname@qq.com<br>Virtual Assistant avatar<br>Sorry, I don't understand that input. Please try again.</p><p>Virtual Assistant avatar<br>To begin, what is the username of the account? If you're not sure, try these methods for remembering your username.</p><p>myname<br>Virtual Assistant avatar<br>What is the primary email address associated with the account?</p><p>Virtual Assistant avatar<br>Enter that address even if you can't access it right now. Ensure you're providing the right email address; we won't check if it is associated with an account.</p><p>myname@qq.com<br>Virtual Assistant avatar<br>Do you have access to that email, or a backup email address associated with the account?</p><p><br>Yes, I have access to one of those email addresses<br>Virtual Assistant avatar<br>Do you know the account password?</p><p><br>Yes, I know my password<br>Virtual Assistant avatar<br>Okay. What do you see after entering your password?</p><p><br>I'm asked for my 2FA credentials (e.g. app or SMS code)<br>Virtual Assistant avatar<br>What issue are you having when prompted for your 2FA credentials?</p><p><br>None of my 2FA methods are available right now<br>None of my 2FA methods are available right now<br>Virtual Assistant avatar<br>You can use a passkey to sign in, if one is already setup on the account. Passkeys can be used instead of a 2FA code. To learn more, see Signing in with a passkey in the GitHub Docs.</p><p><br>I can't use a passkey<br>Virtual Assistant avatar<br>Okay. You can use your recovery codes to regain access to your account.</p><p>Virtual Assistant avatar<br>When you set up 2FA, we provided you with a set of recovery codes that we encouraged you to keep in a safe place. You may have saved your recovery codes to a password manager or your computer's Downloads folder. The default filename for recovery codes is github-recovery-codes.txt. If you find them, you can use them to access the account.</p><p>Virtual Assistant avatar<br>Were you able to use a recovery code?</p><p><br>No, I cannot find my recovery codes<br>Virtual Assistant avatar<br>A recovery code may be your only way to recover access to the account. We'd strongly suggest trying to find them. Check the device you enabled 2FA on, just to be sure.</p><p><br>I still can't find my recovery codes<br>Virtual Assistant avatar<br>As a last resort, you can try requesting a reset. Unlike account recovery codes, the ability to request a reset depends on whether or not you have used certain access methods recently, such as a verified device, SSH key, or personal access token, and whether or not you can provide evidence of this.</p><p>Virtual Assistant avatar<br>GitHub Support can't check this or submit a request for you. You'll need to try the requesting a reset yourself.</p><p>I'm ready to try requesting a reset<br>Virtual Assistant avatar<br>Navigate to Sign in to GitHub and type your username and password to prompt authentication.</p><p>Virtual Assistant avatar<br>Under "Having problems?", click Recover your account or unlink an email address.</p><p>Virtual Assistant avatar<br>Follow the steps to request a reset. You will need to provide a one-time code sent to your email address and a recovery verification factor.</p><p><br>All the recovery verification factors are greyed out/unavailable<br>All the recovery verification factors are greyed out/unavailable<br>Virtual Assistant avatar<br>If you are unable to submit a recovery request, and you do not have a recovery code, the account is unrecoverable.</p><p>Virtual Assistant avatar<br>Per our Account Recovery Policy, GitHub Support cannot help you access an account with 2FA enabled if you don't have the correct credentials.</p><p>Virtual Assistant avatar<br>In this situation, you may be able to disconnect any email addresses associated with the account. This will allow you to create a new account with the same email address(es).</p><p>I'd like to disconnect my email<br>Virtual Assistant avatar<br>As it sounds like you know your password, you can disconnect your email address now. To get started, read read Unlinking your email address from a locked account in the GitHub Docs.</p><p>Virtual Assistant avatar<br>You can re-use any email addresses you disconnect with a new or existing GitHub account.</p><p>Virtual Assistant avatar<br>Linking a previously used commit email address to a new account will connect your commit history to that account. Those commits may be eligble to appear in the contribution graph of that account, provided other eligibility criteria is met.</p><p>Virtual Assistant avatar<br>Other content from the account, including repositories, Gists, access permissions, and the account username, are not transferrable to a different account.</p><p><br>I still need help with something else<br>Virtual Assistant avatar<br>What are you having trouble with?</p><p><br>Something else<br>Something else<br>Virtual Assistant avatar<br>Let's put you in touch with our Support team who can help you further.</p><p>Virtual Assistant avatar<br>Requests to disable 2FA on an account will receive a response from our Support team, but they will not be actioned. Per our Account Recovery Policy, GitHub Support cannot help you access an account with 2FA enabled if you don't have the correct credentials.</p><p>Contact Support<br>Virtual Assistant avatar<br>Head to Help with your GitHub account - GitHub Support to get in touch with us. This link is customized for you.</p></div><br><br>
来源:https://www.cnblogs.com/yfceshi/p/19019191
頁:
[1]