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
相关推荐
森之鸟1 小时前
2026年AI编程工具全景图:GitHub Copilot vs Cursor vs Codeium,我如何选择?
github·copilot·ai编程
wAIxiSeu3 小时前
Github开源项目推荐
开源·github
无限进步_6 小时前
面试题 02.02. 返回倒数第 k 个节点 - 题解与详细分析
c语言·开发语言·数据结构·git·链表·github·visual studio
CoderJia程序员甲6 小时前
GitHub 热榜项目 - 日榜(2026-01-31)
ai·开源·大模型·github·ai教程
飞乐鸟10 小时前
Github 16.8k Star!推荐一款开源的高性能分布式对象存储系统!
分布式·开源·github
CCC:CarCrazeCurator11 小时前
IDE 与编程语言区分介绍
git·github
Go_Zezhou11 小时前
render快速部署网站和常见问题解决
运维·服务器·开发语言·python·github·状态模式
玉梅小洋17 小时前
Git 使用技巧——查看 Commit 修改文件的概要
git·github
矢志航天的阿洪1 天前
从GitHub到本地:Python IGRF库环境配置完全指南
开发语言·python·github
chunmiao30321 天前
了解github上,watch,fork,star代表啥
github