aisowe

Git 回退到某个历史版本

回退到某个历史版本

git-bash

git reset --hard commit_id

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

分类:

技术点:

相关文章: