sourcetree使用personal access token 登录GitHub

chat

使用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

版权声明:
作者:东明兄
链接:https://blog.crazyming.com/note/2540/
来源:CrazyMing
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
海报
sourcetree使用personal access token 登录GitHub
sourcetree 解决 Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
<<上一篇
下一篇>>
chat