A system is using Git to record data received daily from four sensors, each monitoring one of directions east, west, north, south. Each sensor provides 20 integer values, which are stored in a csv file (e.g., values from the sensor monitoring the east direction are recorded as east.csv). Data for each day is recorded as one commit.

Examine the revision history to answer the following questions.

Q: Which are the new values in staged files?

Q: Which are the new values in modified but unstaged files?

Q: Which files have changed from Jan 09th to Jan 15th?

Q: Which new values are new in north.csv on Jan 10th, compared to Jan 01st?

Exercise sensors-diff

To download the exercise:

  • Navigate inside the gitmastery-exercises folder.
  • Run gitmastery download sensors-diff command.

Scenario:

A system is using Git to record data received daily from four sensors, each monitoring one of directions east, west, north, south. Each sensor provides 20 integer values, which are stored in a csv file (e.g., values from the sensor monitoring the east direction are recorded as east.csv). Data for each day is recorded as one commit.

Your task:

Examine the revision history to answer the following questions.

Q: Which are the new values in staged files?

Q: Which are the new values in modified but unstaged files?

Q: Which files have changed from Jan 09th to Jan 15th?

Q: Which new values are new in north.csv on Jan 10th, compared to Jan 01st?


To verify your work:

  • Navigate to anywhere inside the gitmastery-exercises/sensors-diff folder (or any sub-folder of it).
  • Run the gitmastery verify command.

To reset the exercise and start over, navigate to the gitmastery-exercises/sensors-diff folder and run the gitmastery progress reset command.