02 - Version Control Flashcards

1
Q

types of version control systems (3)

A

local
centralized
distributed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

local database that keeps track of file versions

A

local vcs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

vc systems either keep:

A
  • actual copies of file versions
  • patch sets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

single server contains the file versions

A

centralized vcs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

pros and cons of centralized vcs

(2 pros, 1 con)

A

pros:
- collaboration is possible
- easy to administer file permissions
con:
- single point of failure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

machines fully mirror the repository

A

distributed vcs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

pro/s and con/s of distributed vcs
(1,1)

A

pro/s:
- no single point of failure
con/s:
- large repositories may be impractical to mirror

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

advantages of vcs (6)

A

backup and restore
short term/long term undo
synchronization
track changes
track ownership
branching/merging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

where files are stored

A

repository

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

local repos are also called _____

A

working copy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

noun: copy of another repository

A

clone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

verb: to record changes

A

commit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

noun: a version or checkpoint

A

commit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

latest commit in the repo

A

head

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

copy of the code base

A

branch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

where is the stable code found (what branch)

A

main branch (master in Git)

17
Q

different branches can be merged together

18
Q

when there are two or more conflicting changes to the same file

19
Q

to get all the latest changes from the remote repo

A

update/sync

20
Q

distributed version control system

21
Q

website/service designed to function with Git

22
Q

main function of GitHub

A

allows users to create git repositories on their server