您的当前位置:首页正文

git还原github项目版本

来源:华拓网

1. 查看项目版本日志

git log
image.png

2. 还原版本

git reset --hard commit_id