-
Notifications
You must be signed in to change notification settings - Fork 0
/
lesson_2_reflection.txt
33 lines (20 loc) · 1.33 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?
Git create a hidden directory where service info about repository stored.
How is the staging area different from the working directory and the repository?
What value do you think it offers?
It add link to the files related to project for future monitoring and commits.
How can you use the staging area to make sure you have one commit per logical
change?
After modifying several files I can add to staging area only those of them which I wish to include in particular commit.
What are some situations when branches would be helpful in keeping your history
organized? How would branches help?
It's usefull when you need to implement different version of program without loosing main release
For example to implement experimental feature or different language or so on.
How do the diagrams help you visualize the branch structure?
You can see points where branches are splits up.
What is the result of merging two branches together? Why do we represent it in
the diagram the way we do?
The result is combination of features implemented in both branches.
What are the pros and cons of Git’s automatic merging vs. always doing merges
manually?
If there is no ambiguity in content of files to be merged. It's convinient that Git merge branches automatically.