Version Control Flashcards

1
Q

Types of version control system

A

Local
Centralized
Distributed

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

Local database 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; or
patch sets

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

a 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

Examples of Centralized VCS

A

CVS
Subversion
Perforce

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

Machines fully mirror the repository, including the history of changes

peer-to-peer approach

each peer is a valid repository

A

Distributed VCS

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

Examples of Distributed VCS

A

Git
Mercurial
Bazaar
Darcs

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

TRUE OR FALSE
Single point failure == Distributed VCS

A

FALSE

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

Advantages of VCS

A

Backup & 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
10
Q

Where the files are stored

A

Repository

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

types of repository

A

remote
local

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

a copy of another repository

A

clone

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

to record the changes in VC history/log
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

A

Head

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

copy of the code base
can evolve separately

A

Branch

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

contains the stable code

A

main branch (master in Git)

17
Q

different branches combined

18
Q

two or more conflicting changes to the same file

19
Q

TRUE OR FALSE
Conflicts must be resolved

20
Q

To get all latest changes from the remote repo and put them in your local repo

A

Update/Sync

21
Q

TRUE OR FALSE
Git is dependent on Github

22
Q

a distributed VCS
free and open-source
primarily cmd line tool

23
Q

website/service design to function with Git

24
Q

Github Alts

A

GitLabs, BitBucket