-
Notifications
You must be signed in to change notification settings - Fork 0
/
lesson_2_reflection.txt
42 lines (33 loc) · 1.32 KB
/
lesson_2_reflection.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
33
34
35
36
37
38
39
40
41
42
Q:
What happens when you initialize a repository?
Why do you need to do it?
A:
Git starts tracking changes on files/directories and storing that info inside .git which is a hidden directory.
To track changes.
-------------------------------------
Q: How is the staging area different from the working directory and the repository?
What value do you think it offers?
A:
-------------------------------------
Q: How can you use the staging area to make sure you have one commit per logical
change?
A:
-------------------------------------
Q: What are some situations when branches would be helpful in keeping your history
organized? How would branches help?
A:
-------------------------------------
Q: How do the diagrams help you visualize the branch structure?
A:
-------------------------------------
Q: What is the result of merging two branches together? Why do we represent it in
the diagram the way we do?
A: The branch we had checked out will grow by one commit which will incorporate all the changes added to the 2 branches since they split up.
-------------------------------------
Q: What are the pros and cons of Git's automatic merging vs. always doing merges
manually?
A:
Auto - Alerts you when not sure about conflicts - Very quick
vs
Manually - Very prone to human error - Very slow
-------------------------------------