A system is using Git to record data received daily from four sensors, each monitoring one of the directions east, west, north, and 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: What are the new values in staged files?
Q: What are the new values in modified but unstaged files?
Q: Which files changed from Jan 9 to Jan 15?
Q: Which values are new in north.csv on Jan 10, compared to Jan 1?
sensors-diffTo download the exercise:
gitmastery-exercises folder.gitmastery download sensors-diff command.Scenario:
A system is using Git to record data received daily from four sensors, each monitoring one of the directions east, west, north, and 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: What are the new values in staged files?
Q: What are the new values in modified but unstaged files?
Q: Which files changed from Jan 9 to Jan 15?
Q: Which values are new in north.csv on Jan 10, compared to Jan 1?
To verify your work:
gitmastery-exercises/sensors-diff folder (or any subfolder of it).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.