IDEA使用token验证github

1年前 (2022) 程序员胖胖胖虎阿
111 0 0

使用IDEA提交java代码到github时,发现用账号密码不能向github验证身份,导致不能提交代码。

因此改用token验证身份。

首先需要在github上生成token。 见上一篇文章
《github生成token (2022年8月26日)》

之后在IDEA界面 file -> settings
IDEA使用token验证github

之后 version control -> github
IDEA使用token验证github

右侧加号(添加账户) -> useToken
IDEA使用token验证github

把github网站上生成的toke粘贴到token栏,再login,账户添加成功
IDEA使用token验证github

之后就可以用这个账号验证github并push了。

同步更新到自己的语雀
https://www.yuque.com/diracke...

版权声明:程序员胖胖胖虎阿 发表于 2022年11月13日 上午12:48。
转载请注明:IDEA使用token验证github | 胖虎的工具箱-编程导航

相关文章

暂无评论

暂无评论...