-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson_3_reflections.txt
12 lines (12 loc) · 2.02 KB
/
lesson_3_reflections.txt
1
2
3
4
5
6
7
8
9
10
11
12
Q)When would you want to create a remote repository rather than keeping all your work local?
A)I would want to make a remote repository when I want to make changes to the file on the GitHub directly. If I choose to keep working then I would have to make commits regurarly and then in the end push the file to GitHub.
Q)Why might you want to always pull changes manually rather than having Git automatically stay up-to-date with your remote repository?
A)I would want to pull changes manually beacuse I may be in the middle of some work and if Git copies the incomplete file into its repository then it would lead to an error. Thus completing a logical task and then pulling the changes manually is the best option.
Q)Describe the differences between forks, clones, and branches. When would you use one instead of another?
A)Forks are used to copy a repository in someone's GitHub profile into your GitHub profile. Clone is required when you want to copy the repository of my GitHub account into my local computer. Branches are required when you want to make two or more copies of a single file and then use it differently.
Q)What is the benefit of having a copy of the last known state of the remote stored locally?
A)If we have a copy of the last known state of the remote stored then we can access the file locally and then if required we can merge the last known state with the new chnages made locally to give a merged commit.
Q)How would you collaborate without using Git or GitHub? What would be easier, and what would be harder?
A)I will have to personally visit the person I am collaborating with and discuss the code and then collaborate.
Q)When would you want to make changes in a separate branch rather than directly in master? What benefits does each approach have?
A)I would want to make changes in a seperate branch when I don't want to disturb the main master branch when implimenting a new concept into the file. I would make braches only when I am working on some experimental part of the code and if it is successful then I merge it with the master.