-
Notifications
You must be signed in to change notification settings - Fork 0
/
lesson_2_reflections.txt
32 lines (19 loc) · 1.15 KB
/
lesson_2_reflections.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
What happens when you initialize a repository? Why do you need to do it?
you get a master branch and now the files in it can be tracked
How is the staging area different from the working directory and the repository?
What value do you think it offers?
Only files that need to be tracked can be added to staging area, it gives more flexibility
How can you use the staging area to make sure you have one commit per logical
change?
only the file in ehich the changes are mae can be added to staging area
What are some situations when branches would be helpful in keeping your history
organized? How would branches help?
when no changes are required for the original files, only a new version of the original file needs to be created
How do the diagrams help you visualize the branch structure?
it helps us to identify the commits which are reachable and the one which cannot be reached
What is the result of merging two branches together? Why do we represent it in
the diagram the way we do?
we get the main branch with the commits of both branches
What are the pros and cons of Git's automatic merging vs. always doing merges
manually?
git wont know for sure what is best