Github 账号与登录 2025

Github 账号与登录 2025

登录Github

用户名+密码+一次性密码代码

一次性密码代码

来自微软 Authenticator 或者 1Password 或者 Authy 手机应用,并已经关联好 Github 账号。

关联 Github 账号

  1. Github 个人 Settings 页面(Settings > Password and authentication > Two-factor authentication > Two-factor methods > Authenticator app > Edit),可见待绑定的二维码。
  2. 应用市场下载安装微软的 Authenticator 应用程序并登录。进入 App,从首页浮动按钮(二维码图标)扫描【步骤 1】页面的二维码,Github 应用即添加成功。

登录Github

在需要登录 Github 时,手机上先打开 Authenticator 应用程序的 Github 应用,即可见到不断自动更新的【一次性密码代码】。再去登录 Github 即可。

用户名+密码+2FA

2FA - Recovery codes

恢复代码。来自Github 个人 Settings 页面(Settings > Password and authentication > Two-factor authentication > Recovery options > Recovery codes),并打印保存好的。

其实就是无法使用 Authenticator 来登录的时候,用它来登录,用的机会少,一般在长时间未使用 Github,或者手机不好使了的时候才会用它。

登录 Github

在需要登录 Github 时,并没有 Authenticator 或其没有关联 Github 时,拿出之前打印好的 Recovery codes,选一个Code 用在登录 Github 时 2FA 的输入框即可。

相关推荐
m0_694845579 小时前
tinylisp 是什么?超轻量 Lisp 解释器编译与运行教程
服务器·开发语言·云计算·github·lisp
June`9 小时前
muduo项目排查错误+测试
linux·c++·github·muduo网络库
weixin_66811 小时前
GitHub 2026年AI项目详细数据汇总表-AI分析-分享
人工智能·github
CoderJia程序员甲1 天前
GitHub 热榜项目 - 日榜(2026-02-05)
ai·开源·大模型·github·ai教程
weixin_6681 天前
GitHub 2026年AI项目热度分析报告-AI分析-分享
人工智能·github
MicrosoftReactor1 天前
技术速递|GitHub Copilot CLI 斜杠命令速查表
github·copilot·cli
wu~9701 天前
GitHub永不遗忘,使用git push -f来覆盖的提交依旧保留
git·github
m0_694845571 天前
music-website 是什么?前后端分离音乐网站部署实战
linux·运维·服务器·云计算·github
独自破碎E1 天前
已经 Push 到远程的提交,如何修改 Commit 信息?
开发语言·github
jiang_changsheng1 天前
工作流agent汇总分析 2
java·人工智能·git·python·机器学习·github·语音识别