简易两种方法可以使用
一。查询log
git log
git reset --hard {commit纪录代码}
二。查询tag
git tag
git show {tag出来的版本号}
git reset --hard {commit纪录代码}
这两种都是看当下情境使用,没有好坏之分。
简易两种方法可以使用
一。查询log
git log
git reset --hard {commit纪录代码}
二。查询tag
git tag
git show {tag出来的版本号}
git reset --hard {commit纪录代码}
这两种都是看当下情境使用,没有好坏之分。