Skip to content

Commit 85a5230

Browse files
committed
adding to github
1 parent 0ec8d87 commit 85a5230

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

lesson_2_reflections.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,18 @@ we need to do it so that git can keep track of changes made to the files in tha
55
How is the staging area different from the working directory and the repository? What value do you think it offers?
66
staging area acts a temporary repository for the files so that we can make changes to repository in just one commit
77
It offers us to logically separate the files in the repository
8+
9+
How can you use the staging area to make sure you have one commit per logical change?
10+
by using the staging area effectively and commiting the work intelligently
11+
12+
What are some situations when branches would be helpful in keeping your history organized? How would branches help?
13+
Branches would help when we are experimenting with product and we at the same time want to also have a stable version of product so in that case we can create a new branch for the product we want to add.
14+
15+
How do the diagrams help you visualize the branch structure?
16+
By drawing a tree with nodes as commit ids and each commit points to its parent we can only move up from a node so we can only view commits of a single branch at a time or else we need to switch to other branch to see its commits
17+
18+
What is the result of merging two branches together? Why do we represent it in the diagram the way we do?
19+
Merging two branches combines the content of two branch into a single branch such that the merged branch has content of both the branch
20+
We represent it that way because a commit that is responsible for nmerging has information about the previous commits from both the bracnches
21+
22+
This is my first commit to github :)

0 commit comments

Comments
 (0)