-
Notifications
You must be signed in to change notification settings - Fork 0
/
lesson_2_reflections.txt
39 lines (23 loc) · 1.36 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
29
30
31
32
33
34
35
First: What happens when you initialize a repository? Why do you need
to do it?
Answer: It will create a container for your files in that directory and
keeps track of all the changes that happens to them through time. you will
create repository so you can put your changes and share it with others if
needed.
Second: How is the staging area different from the working directory and
the repository? What value do you think it offers?
Answer: staging area is the meduim in which the changes are ready to be
committed. It allows you to check your changes before committing, you can
reset any changes that you want to the working directory.
Third:How can you use the staging area to make sure you have one commit
per logical change?
Answer: For every change I add to the staging area, I can make one commit.
This way I know when to add changes and commit them per my logical progression.
Fourth:What are some situations when branches would be helpful in keeping
your history organized? How would branches help?
Answer: Branches are good when you want to introduce a totally new version
of your existing code without risking your main branch.
Fifth: How do the digrams help you visualize the branch structure?
Answer: This digram visualization helps you to see with commit is on
which branch. this will create a clear picture on how to follow
these commits for their inicial commit.