-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson_3_reflections.txt
31 lines (26 loc) · 2.24 KB
/
lesson_3_reflections.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
When would you want to use a remote repository rather than keeping all your work local?
I would like to have a remote repository if I am collaborating with may other people on the
same project. I will also like to keep a remote repository as a on-line backup of my work
which I will be able to access and share with other.
Why might you want to always pull changes manually rather than having Git automatically
stay up-to-date with your remote repository?
Hmm.. it might be because the changes on the GitHub are not yet ready to be integrated with
any changes that I have on the local repository.
Describe the differences between forks, clones, and branches. When would you use one instead of another?
A fork is a clone/copy of someone else's GitHub repository in another GitHub repository. A clone is
a copy of a remote (e.g. GitHub) repository on a local device. A branch is a different version of a
a repository. A fork is used when you want to use make changes to someone else's GitHub project when
you are not the collaborator. The clone is used if you want to copy the GitHub project to a local
repository. A branch is used if you want to make some changes to your project e.g. experiment with some
features while keeping the original project separate (until you decide to merge the two)
What is the benefit of having a copy of the last known state of the remote stored locally?
Its good idea to keep a copy of remote stored locally because in case you don't have access
to the network for sometime you can still finish your work locally and update it with the last know
version which was online
How would you collaborate without using Git or GitHub? What would be easier, and what would be harder?
I use GoogleDrive to collaborate my projects. It is good for text documents but may be not that good
with keeping track of codes. I have just started using Git at university it did seem a bit harder at first
but now I think I understand it a bit better.
When would you want to make changes in a separate branch rather than directly in master? What benefits does each approach have?
This will be done when multiple people are working on the project and we want to make sure that the changes we make are not
added to the master branch without peer review