Support for password authentication was removed on August 13, 2021.解决办法大全

https://github.com/qssq/CustomTVDesktopLauncher.git
替换成
https://你的token@github.com/qssq/CustomTVDesktopLauncher.git
黑色加粗就是你需补充的内容,简单粗暴。
可直接推送,

image.png

还有一种办法是使用OpenSSH转Putty Key tortoriseGit提交的方法,这样同样避免了你不用再输入密码。
这个我另外写了一篇教程。https://www.jianshu.com/p/acd793f66af2

ok,上面说的使用开发工具和github desktop的填写token推送,关于token的创建下面的地址直达。

git.exe push --progress "origin" master:master
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://github.com/qssq/RobotDemoEngine.git/': The requested URL returned error: 403

翻译过来理解就是 2021年8月13日,已经移除了密码验证,无法通过这种输入git账户密码的方式提交了,那么
请使用个人访问token代替。至于为什么不让这样搞了官方提示访问下面网址查看原因https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations
如果使用idea或者Android studio那么在设置里面能找到一个login for token,
点击generate也就是生成跳转到一个网址https://github.com/settings/tokens/new?description=Android%20Studio%20GitHub%20integration%20plugin&scopes=repo%2Cgist%2Cread%3Aorg

image.png

输入github密码之后会跳转到如下界面 1. Settings

  1. Developer settings
    选择 Personal access tokens
    这是一个新建token界面,可以点击这个个人访问token返回,这里直接新建,新建完成之后
image.png
image.png

可以选择30天也可以选择永久的那种,

新建完成之后我创建了2个,点击一个进去,里面就有一个点击生成token

image.png

生成的token只能看一次,自己保存起来,再次进来又看不到了,提示要么重新生成。。

image.png
If you’ve lost or forgotten this token, you can regenerate it, but be aware that any scripts or applications using this token will need to be updated.

拷贝token在这开发工具里面填写进去就行了。

至于其他方法参考https://cloud.tencent.com/developer/article/1861466

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值