-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson_2_reflections.txt
18 lines (13 loc) · 1.54 KB
/
lesson_2_reflections.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Q. What happens when you initialize a repository? Why do you need to do it?
A.We need to initialise repo. because we need a HOME for our COMMITs, when we do it ans Empty Repository is created in selected folder.
Q. How is the staging area different from the working directory and the repository? What value do you think it offers?
A. Staging area is the place where git keeps files to be committed we can add and remove files to be commited in this place.
Q.How can you use the staging area to make sure you have one commit per logical change?
A.In staging area we can commit changes according to our changes to particular files by individually adding them to repository as per logical change is made.
Q.What are some situations when branches would be helpful in keeping your history organized? How would branches help?
A.1.When working on more than one thing in a single project, like adding coins, adding an easy level in the game...etc in Astroid Game.
Branches make the changes easy to understand, we know in Coins branch, coins will be added and not the Easy mode of the game will be created.
Q.How do the diagrams help you visualize the branch structure?
A."Image say a thousand words" is the saying and Branch Diagrams are the represention of the branches in the repo.
Q.What are the pros and cons of Git’s automatic merging vs. always doing merges manually?
A. Auto merge helps in every way to combine all changes without blinking an EYE. Manully doing so going line by line I think I SHOULD QUIT CODING, if I have GIT Auto merge and doing it manually.... :D