git rollback the specified version

The git reflog command looks at your history of changes, and then you can use git reset --hard HEAD@{n}, (n is the reference position you want to roll back to) to roll back.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325587152&siteId=291194637