-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson_2_reflection.txt
33 lines (20 loc) · 1.03 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
What happens when you initialize a repository? Why do you need to do it?
It creates a .git file but does not create a first commit
How is the staging area different from the working directory and the repository?
What value do you think it offers?
it's in between working directory and the repo. It's a waiting line for the
next commit
How can you use the staging area to make sure you have one commit per logical
change?
by adding just the file needed
What are some situations when branches would be helpful in keeping your history
organized? How would branches help?
might be useful to try new features or refactor the code, etc.
How do the diagrams help you visualize the branch structure?
it's easier to understand, clearly
What is the result of merging two branches together? Why do we represent it in
the diagram the way we do?
have one branch with the commits from 2 different branches.
What are the pros and cons of Git’s automatic merging vs. always doing merges
manually?
automatic merge is quicker but might be untractable