-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson_2_reflections.txt
24 lines (15 loc) · 1 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
What happens when you initialize a repository? Why do you need to do it?
only when a repository is initialized we are able to commit
How is the staging area different from the working directory and the repository?
What value do you think it offers?
Staging area contains all the files we want to commit where as working
directory might have other files which we don't what to add to the repository
How can you use the staging area to make sure you have one commit per logical change?
We can submit different logical changes seperately to each commit
What is the result of merging two branches together? Why do we represent it in the
diagram the way we do?
Merge combines two branches. We show them in the diagram the way we do is because
we are able to identify parent of each commit
What are the pros and cons of Git’s automatic merging vs. always doing merges manually?
Automatic merging is not good for the files are conflicting with each other. Manually
merging is quite painful though if you do it always