git notes

See how many versions have been committed

git logs#详细
git log --pretty=oneline#只看到commit id和描述

Go back to the previous version and move the head pointer back one place

git reset --hard [HEAD^|commit_id]

See the commit_id in the command history for which version to go back to in the future

git reflog

Guess you like

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