ide想要提交git 分支的时候报错
Update Failed
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ECDSA key sent by the remote host is
SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Please contact your system administrator.
Add correct host key in /c/Users/EDZ/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /c/Users/EDZ/.ssh/known_hosts:1
ECDSA host key for xxxxxxxxxx has changed and you have requested strict checking.
Host key verification failed.
Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists
解决方案:
删除C:\Users\amytang\.ssh\known_hosts里面的密钥信息就可以了。
重新提交的时候再连接会重新生成。