-
Notifications
You must be signed in to change notification settings - Fork 0
/
lesson_3_reflections.txt
21 lines (14 loc) · 2 KB
/
lesson_3_reflections.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
When would you want to use a remote repository rather than keeping all your work local?
When you are working on another computer or someone else is editing your code, the remote repository is udated.
Why might you want to always pull changes manually rather than having Git automatically stay up-to-date with your remote repository?
You might not want to pull every change on thre remote repository because it might interfere your current work. Instead you might prefer to manually pull the channges when the time is appropriate.
Describe the differences between forks, clones, and branches. When would you use one instead of another?
Fork is a clone in Github. You need to fork a repository when it is GitHub and you don't want your changes later affect the original repository.
Clone is copying the repository from a place, either in GitHub or in your local computer, to your local repository. Clone automatically link the origin so any changes in the cloned repository can be pushed into the origin. It is good for collaberation works.
Branch is happend within a repository. Branch is labling a commit which is develped in it own path. Branch is good for try different idea or keep different versions.
What is the benefit of having a copy of the last known state of the remote stored locally?
With last know state of the remote repository stored locally you can synchronized with other collaborated commits.
How would you collaborate without using Git or GitHub? What would be easier, and what would be harder?
Without using Git or GitHub, you have to transfer the files using ftp, email or other means for the collaboration. It is much harder to maintain the work history state and synchronize the collaborated works.
When would you want to make changes in a separate branch rather than directly in master? What benefit does each approach have?
When you experimenting a new idea but do not want interfere the current collaboration work you would want to make changes in a separate branch. It is more work but it is more safe and clean.