-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson_2_reflections.txt
9 lines (9 loc) · 1.25 KB
/
lesson_2_reflections.txt
1
2
3
4
5
6
7
8
9
lesson2.
1.What happens when you initialize a repository? Why do you need to do it?
git created a .git directory and it's ready now to track changes.
2. about staging ares. It helps organizing commits, before actually making them.
3. How having a staging area helps ensure that i have only one commit per logical change. I can remove unwanted file from staging area and not commiting it. thus, addit it to the next commit.
4. How would branches help? - What are situation when branches would be helpful in keeping your history organized? When I want to experiment a diffrernt direction in coding (let's say a diffrernt approach), but want to perserve the orginal version of files. Adding a branch would help to work on 2, without affecting each other.
5. How do the diagrams help you visualize the branch structure? It's a lot easier to see what commits would be unreachable and when to start a new branch
6. What is the result of merging two branches together? Why showing it in a map? Map helps to track which commits may be missed if merge branches. It helps to track when actually to merge commits.
7. Automatic merge vs manual merge. Pros and cons: Manual merge allows me to chosse what exactly I want to merge, instead of letting git decide what to mege and how.