Version Control Flashcards

1
Q

Three types of Version Control System

A

Local
Centralized
Distribute

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

This VCS is a local database that keeps track of file version

A

Local VCS

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

VC system either keep:

A

actual copies of file version; or
patch sets (set of additions/subtractions to a file)

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

This VCS is a single server that contains the file versions. Here, clients check out individual files/folders from the central server.

e.g. (CVS (Concurrent Versions System), Subversions, Perforce)

A

Centralized VCS

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

What is the advantage of using centralized VC?

A
  1. Collaboration is possible
  2. Easy to administer file permissions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the cons of centralized VC?

A

Single point of failure.

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

In this VCS, machines fully mirror the repository, including the history of changes. Here, there is no single point of failure

A

Distributed VCS

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

Advantages of VCS

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

This is where files are stored. It can be remote or local.

A

Repository

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

Local repository are also called?

A

working copy

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

It is a copy of another repository including all the files, and revision history

A

clone

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

As a verb, what does commit mean?

A

To record the changes in the VC history/log

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

As a noun, what does commit mean?

A

A version or checkpoint that you can go back to anytime

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

This is the latest commit in the repository

A

Head

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

This is a copy of the code base. It can evolve separately from other.

A

Branch

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

The stable code is usually found in a main branch, which in Git is called?

17
Q

Different branches can be —- together?

18
Q

This is when there are two or more conflicting changes to the same file. It must be resolved

19
Q

This is to get all the latest changes from the remote repo and put them in your local repo.

A

Update/Sync

20
Q

Git is a what type of VCS?

A

Distributed

21
Q

What is the main function of Github?

A

Allows users to create git repositories on their server.