Reverting to a prior version


show more Reverting to a prior version provides you with in-depth training on Developer. Taught by Michael Lehman as part of the Fundamentals of Software Version Control show less
please wait ...

Reverting to a prior version

Sometimes when you make changes to a file, they turn out not to be what you want. You may open a file and accidentally delete too much and then save it back and realize, oh, I can't do any undo because I am already out of my editor. You may change the color palette of an image and then not remember what the original RGB values were. You may do some refactoring and then realize when you're done it's not the way you want to do it, and you want to start over. This is one of the places where Version Control systems can really help you out. So you've got your file in the repository at time T1, you would check it out or update it as necessary, and you begin to make some changes.

You delete feature B and add feature D and then you realize that's not the way you want it. So with Version Control software, you can go back and say please overwrite the file in my working set with the most recently saved one, or even overwrite the file or the entire working set with the version from last Th...

Reverting to a prior version
Video duration: 1m 42s 2h 55m Intermediate

Viewers:

Reverting to a prior version provides you with in-depth training on Developer. Taught by Michael Lehman as part of the Fundamentals of Software Version Control

Subject:
Developer
Software:
Git Mercurial ALM/TFS Perforce
Author:
please wait ...