-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson_2_reflections.txt
28 lines (17 loc) · 1.07 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
What happens when you initialize a repository? Why do you need to do it?
It sets up the process to start saving commits.
How is the staging area different from the working directory and the repository? What value do you think it offers?
The staging area is a subset of the directory.
It allows you to include only relevant files in commits.
How can you use the staging area to make sure you have one commit per logical change?
If changes in more than one file are necessary
for a full single logical change, the stating area helps.
What are some situations when branches would be helpful in keeping your history organized? How would branches help?
trying out versions and experimenting with safety.
How do the diagrams help you visualize the branch structure?
they are tree-like structures.
What is the result of merging two branches together? Why do we represent it in the diagram the way we do?
they transform into one in an intelligent way.
What are the pros and cons of Git’s automatic merging vs. always doing merges manually?
pros: no fuckups, conservative.
cons: more work.