-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Since I did the exercise on my own, I, ymcx, am the sole owner of this repository.
Q1: Using the log command determine the number of commits and their id (use just the five first digits) from the user named "Marta Cortés".
Using the git log -command and filtering the results with grep revealed that Marta Cortés has committed twice to the repository with the following hashes:
- 77d79
- 7597e
Q2: Using the show command you must determine who, when and how many files were modified in the commit with id starting with 77d79
On the first day of October in 2015 Marta Cortés modified two files in the given commit.
Q3: Using the diff command you must determine the changes to the file README.md from the commit with id 4ee6d to the last commit (HEAD).
The changes made to the README-file mainly include fixes to the formatting so that the code would behave accordingly. On top of cosmetic changes, the lines:
- 521002P Orientation to Computer Science and Engineering - Introduction to Agile Tools
- Welcome to Oulu University CS orientation course 521002P Gitlab repository. Move on to the Wiki for more information.
- How to test this
- Run the test.py
were added as well.
Q4: why HEAD is pointing to fibonacci and not to main?
HEAD is pointing to fibonacci because I created the branch 'fibonacci' and then switched to it using the git checkout -command with the additional argument -b in order to create the branch.
Q5: Insert here the snapshot of the command window showing fibonacci and main branches
Q6: Make a snapshot of the command window. Why the log shows two line in parallel?
The log shows two lines in parallel because it's trying to signify that the main branch got forked into a new branch only to be merged back together after one commit.
Q7: Make a snapshot of the Github commits page.