Version Control Systems Flashcards

1
Q

Version Control System

A
  • Allows you to track and manage code changes
  • Allows you to save history of changes to code
  • To go back to previous versions
  • To work with different branches at the same time and merge changes from different branches
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to use git

A
  • Console Interface
  • Graphical Interface
  • IDE Integration
  • Repository Hosting Service
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Console Interface

A
  • Working with git is done via command line
  • Most powerful and flexing but requires knowledge of commands & basic concepts of git
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Graphical Interface

A
  • Works with git that facilitates interaction with VCS. Allows you to perform basic operations with git directly from development environment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

IDE Integration

A
  • In-built git support that allows you to perform basic operations with git directly from development environment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Repository Hosting Service

A
  • Online services gives you the ability to store git repositories on the cloud.
  • Allow you to work without installing it on the local computer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Revision Git: How are changes merged; conflicts and how to resolve them?

A
  • Changes are merged using the git merge command. You select the branch to which you want to add changes from another branch and run the git merge command also specify the name of the branch you want to add changes from
  • Conflicts may occur when changes have been made to same files in both branches. Git can’t decide what to save so it stops the merge process. It is left to the user to resolve this conflict.
  • The conflict is resolved when the user manually selects the files where changes are to be made. Uses git add to add the modified file to the service directory and commit it to complete the merge.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly