科南每日一记

Their offer: ssh-rsa,ssh-dss Could not read from remote repository

no matching host key type found. Their offer: ssh-rsa,ssh-dss Could not read from remote repository. Please make sure you have the correct access righ

Conan 发布于 2024-07-11

Git回滚到上次提交前

如果最新的这个提交被推送,则使用: git revert HEAD 他会创建一个新的提交,用来撤销最近的推送,但是不会改变项目历史,在log中还是会看到你的那个错误的远程推送历史; 即:假如有DCBA的四个提交,D是最新的;【git范围执行语法,包含起点不包含终点】 git revert HEAD

Conan 发布于 2024-01-15