南宁外贸网站建设,腾讯企业邮箱浙江服务中心,邯郸信息网平台,济南网站制作定制公司向github提交代码时报错#xff1a;Support for password authentication was removed on August 13, 2021. Please use a personal access token instead。大概意思就是#xff0c;原先的密码凭证从2021年8月13日开始就不能用了#xff0c;后续必须使用个人访问令牌#x…向github提交代码时报错Support for password authentication was removed on August 13, 2021. Please use a personal access token instead。大概意思就是原先的密码凭证从2021年8月13日开始就不能用了后续必须使用个人访问令牌personal access token
如何使用token认证github
1、github首页【Setting】-【Devloper Settting】-【Personal access tokens】-【Generate new token】 2、授权该token的访问权限范围勾选repo,admin:repo_hook,delete_repo三个选项其他根据需要进行勾选 3、点击【Generate token】生成令牌并保存下来 4、后续进行命令行操作仓库时可以将token添加到远程仓库链接中避免每次提交代码都要输入token git remote set-url origin https://your_tokengithub.com/USERNAME/REPO.git
示例
git remote set-url origin https://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github.com/shliang0603/Yolov4_DeepSocial.git/