-
Notifications
You must be signed in to change notification settings - Fork 0
/
Lesson 2 reflection.txt
28 lines (21 loc) · 1.07 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
What happens when you initialize a repository? Why do you need to do it?
it creates a .git folder . we need it to save commit history
How is the staging area different from the working directory and the repository?
What value do you think it offers?
staging area is like a temp directory from where we can commit all files in staging area together.
it offers commit id.
How can you use the staging area to make sure you have one commit per logical
change?
add those file which i want to commit and commit them.
What are some situations when branches would be helpful in keeping your history
organized? How would branches help?
branches are seperate mode .with branch i can make experiment.
How do the diagrams help you visualize the branch structure?
it says which branch can access which commit.
What is the result of merging two branches together? Why do we represent it in
the diagram the way we do?
it merge in single one .because we can understand.
What are the pros and cons of Git's automatic merging vs. always doing merges
manually?
pros it can do
cons sometimes it conflicts