Current location - Music Encyclopedia - Chinese History - How does svn return to the previous version?
How does svn return to the previous version?
There is no need to be so troublesome as described in appletree0 108. There are hidden dangers in following that method. For example, if you want to get the last version of the whole folder, if some files have been deleted in this version, then if you use appletree0 108, those deleted files will still exist after being overwritten.

In fact, the operation is simple:

If you just want to see the content of a version: first check the log to confirm the version number of the previous version, and then update to this version number (update is not only to the latest version, but also to the specified version);

If you want to revert to the previous version and re-develop from the previous version, that is to say, give up the changes of this version, then if you use the TortoiseSVN client, you can right-click the menu to view the log, find the previous version, right-click "Revert to this version" and then submit (in command line mode, you can reverse merge to the previous version before submitting).