使用sourcetree更新GitHub项目时报错:Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
因为github更新策略,只可用personal access token登录,sourcetree 修改方法:
在sourcetree中进入项目,点击【远程仓库】修改仓库地址:
格式为:https://<your_token>@github.com/<USERNAME>/<REPO>.git
在命令行中,同样的使用该格式clone https仓库:
git clone https://<your_token>@github.com/crazyming9528/nodejs-learning.git
1.如需转载本站原创文章,请务必注明文章出处并附上链接,非常感谢。
2.本站用于记录个人 工作、学习、生活,非商业网站,更多信息请 点击这里
下一篇: nginx配置跨域请求可携带cookie
网上各种抄袭教程,
只有这里是正确的配置,
谢谢