7
Being able to recover information from an earlier point in a project is an important aspect of any version control system
In section 2.5 I explained the process of resetting a project back to an earlier commit point; I also explained my best practice for doing so.
Brackets has a reset facility that allows this process to take place within the Brackets environment (albeit with some limitations).
Brackets also supports a checkout function that performs a similar action but without the restrictions of the reset function.
Git also supports this checkout an earlier commit function.
I cover all these options in this section with the aid of the lab-01-website project developed in the previous section.