$ git push
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/wanghuiwiki/shop.git/'
git push -u origin main (注:此操作目的是把本地仓库push到github上面,此步骤需要你输入帐号和密码)
结尾:不论怎么gitpush,都不能把本地仓库的内容文件上传到线上仓库,问该怎么办?
====================================================
解决问题:参考https://segmentfault.com/a/11...
这英文写得很清楚了啊,通过密码 push 已经不支持了,该怎么办也告诉你了,可以用 git 协议