-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson-3-reflection-prompts.txt
47 lines (32 loc) · 1.9 KB
/
lesson-3-reflection-prompts.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
When would you want to use a remote repository rather than keeping all your work local?
Answer: When I want to share my work with the community and get help from other collaborators. Also if I want
other devleopers or companies to see my work, then I will publish.
Why might you want to always pull changes manually rather than having
Git automatically stay up-to-date with your repository?
Answer:Because you want to decide when to pull the changes. Maybes sometimes
you are not sure which commit or changes to pull from which branch. Having
the ability to decide when to pull gives you more advantage to prevent
conflict between code versions.
Describe the differences between forks, clones, and branches. When would
you use one instead of another?
Answer: Fork is similar to clones but it happens only on the Github servers
while clone a Git command used for clonning a repo from Github to your
local machine. Branches can be created on your local machine or on your
Github account. You can make new branches from your master branch and
do side development.
What is the benefit of having a copy of the last known state of the remote
stored locally?
Answer:
How would you collaborate without using Git or GitHub? What would be
easier, and what would be harder?
Answer: I would just give a copy of my project using email with a
text file indicating changes and the status of my work and also
providing comments within my codes. It is really hard to keep track of
our changes and sending all the project suing email. I don't see anything
easy in this process.
When would you want to make changes in a sperate branch rather directly
in master? What benefits does each approach have?
Answer: When you want to fix a bug, but you are afraid of the sideaffects
of that bug. Also if you want to work on a new feature you can change that
branch. this will give you these advantages. Ability to proof read
and check before merging.