本人小白,刚学git,只会git add . ,git commit -m ‘xxxx’,git push
今天git push后遇到一系列问题后打算记录下来。
首先遇到问题
1. git push提示【Username for ‘https://github.com’* 】
Username for ‘https://github.com’: 输入的是github上的邮箱账号, 而不是github中设置的username,
Password for ‘https://你的github邮箱@github.com’: 输入github的登录密码,点击enter键即可.
2.git push 后提示 【fatal: unable to access ‘https://github.com/coderxiacheng/vue-manage.git/’: OpenSSL SSL_read: Connection was reset, errno 10054】
然后我输入了这个解决:
git config --global http.sslVerify "false"
3. 再次git push 提示【fatal: unable to access ‘https://github.com/coderxiacheng/vue-manage.git/’: Failed to connect to github.com port 443 after 21118 ms: Timed out】
这里我进行了取消代理操作
git config --global http.proxy
git config --global https.proxy
4.再次git push提示【remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.fatal: Authentication failed for ‘https://github.com/coderxiacheng/vue-manage.git/’】
这里我参照这位大哥文章进行操作,设置token。
大家可以去观摩:
原文链接:https://blog.csdn.net/qq_41646249/article/details/119777084
【最后】
执行到这里我成功push
欢迎各位大佬批评指正。