For our 4th lab, we were tasked with partnering up again, and modifying our partner's Static Site Generator project to be able to take "options" from a "configuration" JSON file, instead of having to type them up in the command line.
This way, the user only has to specify the location of the configuration file, where they can store multiple options, instead of having to manually type the various options in the command line, which can be more prone to errors.
Coding the logic for the configuration file wasn't too difficult, as it was similar to the logic I already had for file handling.
But what I found interesting in this week's lab was the use of remotes and Git fetch. We used remotes this week to monitor our partner's progress on modifying our own project, and used fetch to update the remotes. This way we were able to test our partner's progress, without actually modifying our local repo at all.
Overall, I feel as though I still need to review the concept of remotes/ git fetch as I work towards completing my hacktoberfest release.
Relevant Links:
Top comments (0)