"Revert to this revision", this is easier to understand and more commonly used. It is to restore the file to a certain version, and then commit, the file is rolled back successfully. After a successful rollback, all history still exists. For example, after rolling back to version 4 and commit, a new version 6 will appear, but its content is the same as version 4
Original blog: http://keenwon.com/1072.html