- 具体操作
吾辛辛苦苦的一切操作成功之后,再提交代码,还是要验证用户密码,最后提示失败……
- 解决办法
打开.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
终于成功了!