学无先后,达者为师

网站首页 编程语言 正文

【问题】remote: Support for password authentication was removed on August 13, 2021

作者:小沈曰 更新时间: 2022-03-03 编程语言

解决步骤

1、进入设置界面
在这里插入图片描述
2、配置token属性
在这里插入图片描述
3、复制生成的token
在这里插入图片描述
4、刷新之后查看token
在这里插入图片描述
5、clone工程

git clone https://github.com/szlsay/hello-vue.git

6、进入本地仓库,配置本地仓库token

git remote set-url origin https://<token>@github.com/<username>/<repo>.git

举例

➜  hello-vue git:(main)git remote set-url origin https://ghp_123456890@github.com/szlsay/hello-vue.git

7、完成了 O(∩_∩)O哈哈~

原文链接:https://blog.csdn.net/shentian885/article/details/123014623

栏目分类
最近更新