Lesson 1 Episode 3 — Follow the state of the index in the commit routine#
Please perform the following tasks individually
The baseline
Revise the commands launched since the last exercise using…
Check the output of
git diff
The working tree
Append the sixth line to
Lines.txt
using…Repeat 1.2 and compare its output with the previous
The index
Stage the changes of
Lines.txt
in the index using…Repeat 1.2 and compare its output with the previous ones
The history
Store the changes of
Lines.txt
in the history using…Repeat 1.2 and compare its output with the previous ones
Look up and parse the commit history using…
Formulate your own explanation of what git diff
showed you
The following questions are two sides of the same coin:
What did you ask Git to do?
What did Git do for you?