Version Control Systems Flashcards

1
Q

Version Control

A
  • tool that tracks and manages changes to software code or documents, allowing multiple people to work on a project and keep track of different versions
  • Can store multiple versions of software.
  • Allow for reversion to previous versions if needed.
  • Can be local on a computer.
  • Can be remote on a network server.
  • Git, most popular version control systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Git Clients

A
  • a program which communicates with either a local or remote Git
    repository.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Working Copies

A
  • clone the remote repository to your computer
  • Make and commit changes to this local repository
  • Stage files for the next update to the remote repository.
  • Push committed changes back to the remote repository for collaboration.
  • Clone repo > edit/debug > commit > stage > push
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

File Status

A
  • Git tracks only the files you specify.
  • You must add a file to Git to have it tracked or versioned
  • Once tracked, it tells you if the file has been modified
  • You can then stage the file and commit it
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Ignoring Files

A
  • You can request Git to ignore files by listing them in a file in the top level directory of your git repository
  • file must be connected to .gitignore
  • The * is the most common pattern matching symbol to use.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Communicating with the Remote
Repository

A
  • Clone: creates a local copy of the repository
  • Pull: updates your local copy with changes from the remote
  • Push: pushes your local changes to the remote
  • Rename: change the name of a file tracked by Git
  • Delete: stop a file from being tracked by Git
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly