git clone 提示需要登录 github

我们在进行git的时候,可能会弹出让你登陆github的选项,这里我们介绍Token登陆的方法。

  1. 正常登陆你的Github
  2. 下拉找到 Developer settings
  3. 按照如下步骤进行操作
  4. 填写相关信息,勾选对应选项


  5. 返回就能看到token已经被生成,可以使用了
  1. 把生成的token复制过来,点击Sign in登录就ok啦

参考链接:

  1. https://blog.csdn.net/weixin_43908355/article/details/141404321?fromshare=blogdetail\&sharetype=blogdetail\&sharerId=141404321\&sharerefer=PC\&sharesource=weixin_63339973\&sharefrom=from_link
  2. https://blog.csdn.net/xiamaocheng/article/details/132089343?fromshare=blogdetail\&sharetype=blogdetail\&sharerId=132089343\&sharerefer=PC\&sharesource=weixin_63339973\&sharefrom=from_link
相关推荐
MicrosoftReactor36 分钟前
技术速递|GitHub Copilot App 中的堆叠会话与拉取请求
ai·github·copilot·agent
dong_junshuai1 小时前
每天一个开源项目#67 Orca:4.3万星的并行 AI 编程控制台
程序员·开源·github
峰向AI2 小时前
AI 画图要好看,还是要可信?小孩子才做选择,我两个都要!
github
ZJU_统一阿萨姆3 小时前
【Git】Github 开源许可证详解
git·开源·github
fthux11 小时前
装闭 RenoPit 源码解析(07):装修闭坑知识库与AI Prompt构建
人工智能·ai·开源·github·open source·renopit
fthux15 小时前
装闭 RenoPit 源码解析(06):SSE如何实时推送AI装修分析进度
人工智能·ai·开源·github·open source·renopit
是烨笙啊17 小时前
拯救 GitHub stars 体验:从 Agent Skill 到浏览器插件
github
小弥儿17 小时前
GitHub今日热榜 | 2026-08-11:图原生基础设施首日登顶
学习·开源·github
码流怪侠19 小时前
用 WiFi 信号数人头:howmanypeoplearearound 项目深度解析
后端·开源·github
大强同学21 小时前
零成本部署0penList,三步搞定,我一分钱没花!
github