-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson_2_reflections.txt
39 lines (14 loc) · 1.24 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
36
37
38
39
What happens when you initialize a repository? Why do you need to do it?
You start a new folder that is recognized by git hub. It is important when starting new projects.
How is the staging area different from the working directory and the repository? What value do you think it offers?
Working area is the current file a programmer is changing. Staging area is the process of uploading the file to the platform. Commit is to officially send it to the repository
How can you use the staging area to make sure you have one commit per logical change?
You can use it to compare with other commits just to check.
What are some situations when branches would be helpful in keeping your history organized? How would branches help?
Level difficulties for games, different languages for sites, experimental stages, etc.
How do the diagrams help you visualize the branch structure?
So you know where commits are at.
What is the result of merging two branches together? Why do we represent it in the diagram the way we do?
Combines code to production
What are the pros and cons of Git’s automatic merging vs. always doing merges manually?
If commits are simple then automatic is fine. If mergers are more complex it is better to do them manually.