全网首发:github已经设置了令牌token,为什么还要验证用户密码

  • 具体操作

吾辛辛苦苦的一切操作成功之后,再提交代码,还是要验证用户密码,最后提示失败……

  • 解决办法

打开.git目录下config文件,给其中的url加上令牌:

    url = https://ghp_EGL3ejUIdtAUwMs1fe6mIeefc2Amn3f9SvB@github.com/quantum6/openjdk8-x86-amd64-arm64-aarch64.git
  • 再次提交
D:\github\openjdk8-x86-amd64-arm64-aarch64>git push origin master
Enumerating objects: 54303, done.
Counting objects: 100% (54303/54303), done.
Delta compression using up to 16 threads
Compressing objects: 100% (30806/30806), done.
Writing objects: 100% (54303/54303), 102.90 MiB | 541.00 KiB/s, done.
Total 54303 (delta 20967), reused 54303 (delta 20967), pack-reused 0
remote: Resolving deltas: 100% (20967/20967), done.
To https://github.com/quantum6/openjdk8-x86-amd64-arm64-aarch64.git
 * [new branch]        master -> master

终于成功了!

上一篇:NGINX httplimitreq 限速设置


下一篇:RAC 单节点报ora-1105 ora-01606的解决