Version Control Flashcards

1
Q

What are the three types of version controls

A

Local version control system
Centralized version control system
Distributed version control system

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

Describe local version control

A

tracks files within a local system, keeps the change of a version of a file and if the user wants to revert, it simply changes reverts it back to the original

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

Describe a centralized version control system

A

The repository is stored in a centralized location and only one person can access a single file one at a time

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

Describe a distributed version control system

A

the repository is stored on a hosting service or a client system, in order to make a change you must clone it to your own system

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

what are the three stages of GIT

A

repository ( the .git directory)
working directory
staging area

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

What are the three states of GIT

A

committed: the version of the file has been saved in the repository (.git directory)
modified: the file has changed but has not been added to the staging area or committed to the repository
staged: the modified file is ready to be committed to the repository

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