Skip to content

github

fork到本地,然后pull request(https://blog.csdn.net/qq_26787115/article/details/52133008)

找到这个开源项目,点击右上角fork按钮,然后在你自己的github里面就会出现这个项目,修改完之后,在你的github里点击pull request, 之后原作者会收到这个请求,通过之后你就贡献了自己的源码

报错

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:uNiVztksCsDhcc0u9e8BujQXVUpKZIDTMczCvj3tD2s.
Please contact your system administrator.
Add correct host key in /Users/nocilantro/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/nocilantro/.ssh/known_hosts:7
Host key for github.com has changed and you have requested strict checking.
Host key verification failed.
fatal: 无法读取远程仓库。

请确认您有正确的访问权限并且仓库存在。

解决方法: ssh-keygen -f "/Users/nocilantro/.ssh/known_hosts" -R "github.com"