-
Notifications
You must be signed in to change notification settings - Fork 0
/
lesson_3_reflections.txt
17 lines (12 loc) · 1.9 KB
/
lesson_3_reflections.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Q1_ When would you want to create a remote repository rather than keeping all your work local?
A_ You would create a remote repository when you want to save your files externally and/or open your project to collaboration.
Q2_ Why might you want to always pull changes manually rather than having Git automatically stay up-to-date with your remote repository?
A_ For the same reason as committing manually, changes that are incomplete might get updated. Things you don't want shared yet might become open to the public.
Q3_ Describe the differences between forks, clones, and branches. When would you use one instead of another?
A_ A branch is a unique avenue of commits. A clone is a branch that is copied from one source to another. And lastly, a fork is a built-in type of clone hosted on GitHub, which provides a way of preserving the original source and lessens the work required.
Q4_ What is the benefit of having a copy of the last known state of the remote stored locally?
A_ Having a copy locally allows us to have an offline version which we can then compare later to a changed remote. It may also act as a backup to ensure changes are recorded and an independent history is stored.
Q5_ How would you collaborate without using Git or GitHub? What would be easier, and what would be harder?
A_ I would use some form of online file hosting service or email. This could get tedious and messy. Organizing files would need effort and repetitive work.
Q6_ When would you want to make changes in a separate branch rather than directly in master? What benefits does each approach have?
A_ A separate branch allows changes to be made without affecting the master branch. It also follows a protocol for collaboration, in which changes are not made directly, but through a filter of requests. While changing the master directly would be faster and certainly considerable if one were working alone, it is a better idea to create a separate branch.