-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreflections2.txt
25 lines (19 loc) · 1.05 KB
/
reflections2.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
What happens when you initialize a repository? Why do you need to do it?
a hidden .git directory created. because the file changes will tracked by git status
How is the staging area different from the working directory and the repository?
What value do you think it offers?
I may not want to share private file with others.
How can you use the staging area to make sure you have one commit per logical
change?
only add the necessary changes by git add, use git reset -hard to cancel the change
What are some situations when branches would be helpful in keeping your history
organized? How would branches help?
want to create different flavor of same app, not affect each other
How do the diagrams help you visualize the branch structure?
help me to find the unreachable point
What is the result of merging two branches together? Why do we represent it in
the diagram the way we do?
two commits together
What are the pros and cons of Git¡¯s automatic merging vs. always doing merges
manually?
speed of automatic merging, may be surprising. manual merge is confusing.