git rollback to a certain version

1. git log prints the version log

2. git status View the current branch

3. git reset --hard version number Copy the version number that needs to be rolled back to, and then run this command

4. git push --force will force the local current version to be submitted to the remote warehouse

Guess you like

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