github 上传代码到仓库

1.  上传

http://www.changchenghao.cn/n/673396.html

2.如果认证成功,还是无法上传

改用SSH连接

https://blog.csdn.net/yychuyu/article/details/80186783

3.

$ git push --set-upstream origin master
The authenticity of host 'github.com (140.82.114.3)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

请参考

https://blog.csdn.net/qq_41999617/article/details/83691324

原文地址:https://www.cnblogs.com/tingtin/p/15587670.html