git突然不能更新

【Q】

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:eCzQHzdpAYfcHi1fUoBLyqME/hDuD9SBfcge4KY+O+w.

Please contact your system administrator.

Add correct host key in /c/Users/dell/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /c/Users/dell/.ssh/known_hosts:1

ECDSA host key for [172.26.1.145]:2222 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.

【A】

C:\Users\dell\.ssh\known_hosts

去掉git ip 的地址

相关推荐
今日无bug14 小时前
Git 提交:用全栈技术打造智能 Commit Message 生成器
git·全栈
明月_清风16 小时前
拒绝盲目 Git:VS Code 神级插件 GitLens 的 9 个进效杀手锏
前端·git
goodspeed3 天前
Git Worktree:多分支并行开发的利器
git·github
雮尘4 天前
让 AI Agent 高效并行开发的命令-git worktree
人工智能·git·agent
南果梨5 天前
OpenClaw 完整教程!从安装到使用(官方脚本版)
前端·git·开源
Selicens6 天前
git批量删除本地多余分支
前端·git·后端
闲云一鹤7 天前
Git LFS 扫盲教程 - 你不会还在用 Git 管理大文件吧?
前端·git·前端工程化
vibecoding日记10 天前
为什么我就想要「线性历史 + Signed Commits」,GitHub 却把我当猴耍 🤬🎙️
git·编程工具
程序员小崔日记11 天前
如何将代码轻松上传到 Gitee?Git 使用全攻略!
git·gitee·上传