Back
CS-I ISP Journal Blog
J1002: Shell J1006: Source Control J1008: Merlin Mission Manager J1012: Alternative Base Addition J1013: Boolean Algebra J1016: Logic Composition J1017: Binary Adders J1151: Conditional and Flow Chart J1152: While Loops J1292: Useful Randomness

CS-I Journal J1006: Source Control

Name: Tiffany Jiang

Date: 3-Sept-2022

I received assistance from: Eileen Jin

I assisted: Eileen Jin

 

Section 1

1.1 What is Git communicating to you?

The git that’s been committed, it’s ID, it’s creator and at what time it was created.

1.2 What do you see that is common between this git log command and the previous git commit?

Both note a “master.”

1.3 What do you think this is?

I believe it represents the person who ‘owns’ the git repository.


Section 2

2.1 What do you notice about file1.txt and file2.txt? How are they displayed in git status?

They’re displayed in red.

2.2 Are they both displayed in the same section? If not, why not?

No, they’re not displayed in the same section. File1.txt is under “modified,” while file2txt is under “Untracked files.”


Section 3

3.1 What do you notice about file1.txt and file2.txt? How are they displayed in git status?

They’re displayed in green this time.

3.2 Compare and contrast the manner in which the two files are displayed.

File1.txt is under “modified” while file2.txt is under “new file.”


Section 4

4.1 How many files are listed as having been changed?

Two files have been listed to have been changed.

4.2 What are the specific differences listed for each file? In what color is the difference displayed?

The differences are displayed in green. “+This is a new line” has been added to the file1.txt, and under file2.txt, is “+This is a new line in.”


Section 5

5.1 Execute the commands. What does Git tell you has changed? Why?

The commands do not elicit a response from the shell, because there are no differences between the committed and the current files.

 

What did I learn? What is the "big idea"?

I learned how to use git and why it's useful: to save and have a backup file of a previous version of a project.

What challenges did I encounter?

I found challenges when I accidentally did things out of order, and I was occasionally puzzled by the questions it provided, especially the ones listed in Section 3 and Section 5.

How could this experience be improved?

Clearer instructions and explanations after each question could be provided.

Free Reflection: How has what I've learned affected my thinking?

Saving is important and using git helps us do that.