aisowe

Git 回退到某个历史版本

回退到某个历史版本

git-bash

git reset --hard commit_id

如果是回退到上一个版本,可以用便捷写法:git reset --hard HEAD^

分类:

技术点:

相关文章:

  • 2022-02-07
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2022-02-07
  • 2021-05-10
  • 2021-09-23
猜你喜欢
  • 2022-02-07
  • 2022-02-07
  • 2022-12-23
相关资源
相似解决方案