-
git log 找到要还原到哪一次的提交,复制commit id
-
执行回退
git reset --hard commit id
这时本地的代码已经还原。
-
强制推送到远程分支
git push origin HEAD --force

git log 找到要还原到哪一次的提交,复制commit id
执行回退
git reset --hard commit id
这时本地的代码已经还原。
强制推送到远程分支
git push origin HEAD --force
发表时间:2022-05-29
java stream filter limit group by
发表时间:2022-05-28
发表时间:2022-05-28
发表时间:2022-05-21
发表时间:2022-05-05
java8 map中的 compute computeIfAbsent putIfAbsent
发表时间:2022-05-03
发表时间:2022-05-02
发表时间:2022-04-09
git push 错误: hint: Updates were rejected because the tip of your current branch is behind
发表时间:2022-03-12
发表时间:2021-12-30
发表时间:2021-12-29
阿里云企业邮箱发送到163失败: 550 MI:SPF 163 mx32
发表时间:2021-12-25