git 报错:Support for password authentication was removed. Please use a personal access token instead.

简介: git 报错:Support for password authentication was removed. Please use a personal access token instead.

原因

github的验证需要用token了。



解决

在github里面,我们找到settings里的developer settings选项,在选择personal access tokens 点击 Generate new token 新增token。

80278f7aef84498c8133150113d7e92b.png

填一下下面的东东就行

6d974d32e7bc45b19e7877b3fa30fa88.png



生成token之后复制到密码处就行

29fd692b158a447eb728096b143c9cfa.png



重复输入账号密码问题

可以通过往 windows 添加普通凭据,密码处填写token即可


afedaa86f5f840e6b685a5c9056e1596.png









目录
相关文章
|
1月前
|
开发工具 git
git 使用之remote: File [4e21e71a555febaa4dfaaa05cf7eeb606ea96ae2] size 104.090MB, exceeds quota 100MB remote: Please remove the file[s] from history and try again 报错如何解决-优雅草卓伊凡
git 使用之remote: File [4e21e71a555febaa4dfaaa05cf7eeb606ea96ae2] size 104.090MB, exceeds quota 100MB remote: Please remove the file[s] from history and try again 报错如何解决-优雅草卓伊凡
79 3
git 使用之remote: File [4e21e71a555febaa4dfaaa05cf7eeb606ea96ae2] size 104.090MB, exceeds quota 100MB remote: Please remove the file[s] from history and try again 报错如何解决-优雅草卓伊凡
|
5月前
|
存储 开发工具 数据安全/隐私保护
git报错The project you were looking for could not be found 解决方式
git报错The project you were looking for could not be found 解决方式
1119 1
|
6月前
|
机器学习/深度学习 Shell 开发工具
Python使用管道执行git命令报错|4-7
Python使用管道执行git命令报错|4-7
|
6月前
|
存储 Shell 开发工具
8-8|windows上Git报错
8-8|windows上Git报错
|
7月前
|
开发工具 git
【Azure App Service】App Service设置访问限制后,使用git clone代码库出现403报错
【Azure App Service】App Service设置访问限制后,使用git clone代码库出现403报错
115 3
|
7月前
|
开发工具 Android开发 git
解决Idea报错出现Git is not installed
解决Idea报错出现Git is not installed
1245 2
|
7月前
|
网络安全 开发工具 数据安全/隐私保护
Git——报错总结
Git——报错总结
79 1
|
开发工具 git
git出现报错:src refspec master does not match any
git出现报错:src refspec master does not match any
933 0
|
4月前
|
开发工具 git
git 常用命令
这些只是 Git 命令的一部分,Git 还有许多其他命令和选项,可根据具体需求进行深入学习和使用。熟练掌握这些命令能够帮助你更高效地管理代码版本和协作开发。
|
2月前
|
网络安全 开发工具 git
mac git clone命令提示git@gitee.com: Permission denied (publickey).问题修复
mac git clone命令拉取gitee上项目代码时提示密钥问题