【关于git push】后遇到的一列问题以及解决方法

本人小白,刚学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
在这里插入图片描述
欢迎各位大佬批评指正。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值