about summary refs log tree commit diff
path: root/usth/ICT2.7/P1L4 Version Control Subtitles/6 - Essential Actions - lang_en_vs5.srt
blob: 5159d9b65cd6d07e9775ef426df71aaca379fe78 (plain) (blame)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
1
00:00:00,140 --> 00:00:02,220
What I want to do next, is to look at how

2
00:00:02,220 --> 00:00:05,780
version control systems actually work. We saw what they are. We

3
00:00:05,780 --> 00:00:08,130
saw why they are useful. But how do they actually work?

4
00:00:08,130 --> 00:00:11,460
And we're going to do that by starting from some essential

5
00:00:11,460 --> 00:00:15,400
actions that version control systems perform. The first one is the

6
00:00:15,400 --> 00:00:18,920
addition of files. So, when you use a version control system,

7
00:00:18,920 --> 00:00:22,280
you can add a file to the repository. And at that

8
00:00:22,280 --> 00:00:25,400
point the file will be accessible to other people who have access

9
00:00:25,400 --> 00:00:28,640
to the repository. And now the fundamental action is commit.

10
00:00:28,640 --> 00:00:31,230
When you change a file, a file that is already in

11
00:00:31,230 --> 00:00:33,610
the repository, when you make some local changes to a

12
00:00:33,610 --> 00:00:36,430
file that is already in the repository, you want then to

13
00:00:36,430 --> 00:00:39,460
commit your changes to the central repository, so they can

14
00:00:39,460 --> 00:00:43,990
become visible to all of the other users on the repository. Finally,

15
00:00:43,990 --> 00:00:47,770
another fundamental action is the action of updating a file. If

16
00:00:47,770 --> 00:00:50,650
we have a repository and someone else can modify the files

17
00:00:50,650 --> 00:00:52,800
in the repository, I want to be able to get

18
00:00:52,800 --> 00:00:55,550
the changes that other people made to the files in the

19
00:00:55,550 --> 00:00:58,980
repository. And these are just three of the basic actions, but

20
00:00:58,980 --> 00:01:01,870
there are many, many more. And we'll see several of those.