June 2017
Beginner to intermediate
274 pages
6h 49m
English
The nice thing about having old project states saved away is that we can go back to them.
For example, let's say we have made some changes in our file.txt file from moo cow to moo aardvark, as shown in the following screenshots:


If we want to revert a file to a previous state, undoing everything we've done to that file since a particular commit, we just use the git log command to find the identifier for that commit:
git log
This will lead us to our commit, as shown here:
Then, we use the git checkout command to undo our ...
Read now
Unlock full access