git克隆私有仓库
git克隆私有仓库使用https链接克隆,需要再次输入账号和密码账号就是github的用户名github不支持密码登录验证了现在,如果直接输入github密码会报告以下错误remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token ins
git克隆私有仓库
使用https链接克隆,需要再次输入账号和密码
账号就是github的用户名
github不支持密码登录验证了现在,如果直接输入github密码会报告以下错误
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: Authentication failed for ‘https://github.com/zhl1006679550/colder-ant-vue.git/’
解决方法是去github官网生成需要的token,token替代密码作为凭据
-
点击头像 选择settings
-
找到 Developer settings下的Personal access tokens,点击Generate new token生成新的token,记得要保存,生成的token在页面刷新后就不会再展示,一定要记得,一定要记得,给token添加你需要的权限,否则生成的token可能起不到任何作用。
更多推荐
所有评论(0)