-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson_1_reflexions.txt
37 lines (23 loc) · 1.3 KB
/
lesson_1_reflexions.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
How did viewing a diff between two versions of a file help you see the bug that
was introduced?
Because starting from a working version, a bug must be on one of the lines
recently changed
How could having easy access to the entire history of a file make you a more
efficient programmer in the long term?
Because you can find when you introduced a bug
What do you think are the pros and cons of manually choosing when to create a
commit, like you do in Git, vs having versions automatically saved, like Google
docs does?
Pros: commits corresponds to logical change.
Cons: don't forget to commit!
Why do you think some version control systems, like Git, allow saving multiple
files in one commit, while others, like Google Docs, treat each file separately?
googledocs was not designed specificaly for developers. Having mutiple coherent
files is something very important in programming.
How can you use the commands git log and git diff to view the history of files?
by doing diffs on each version in the log
How might using version control make you more confident to make changes that
could break something?
because you know you can always go back if it turns out to be bad
Now that you have your workspace set up, what do you want to try using Git for?
My maching learning course