Udacity terminology lesson 1 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

VCS

A

version control system

also source code manager

a tool that manages different versions of source code

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

how to save a version in Git?

A

commit

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

what is a commit?

A

fundamental unit in Git

when you commit, Git “takes a picture” of what all your files look like at that moment and stores a reference to that snapshot. You can think of it as a save point in a game - it saves your project’s files and any information about them.

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

repo

A

repository

a directory which contains your project work and special files to communicate with Git.

can exist either locally on your computer or as a remote copy on another computer.

made up of commits.

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

working directory

A

the files that you see in your computer’s file system. When you open your project files up on a code editor, you’re working with files in the Working Directory

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

working directory vs repository

A

working directory when working with Git: When you open your project files up on a code editor, you’re working with files in the Working Directory. you see them on the computer’s file system

repository: the files that have been saved (in commits!)

command line’s current working directory: the directory that your shell is “looking at” right now

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

checkout

A

copying the content in the repository to the Working Directory

when content in the repository has been copied to the Working Directory.

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

staging area

A

also staging index, index

A file in the Git directory that stores information about what will go into your next commit.

kind of a prep table where Git will take the next commit. Files on the Staging Index are poised to be added to the repository.

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

SHA

A

Secure Hash Algorithm

an ID number for each commit

a 40-character string composed of characters (0–9 and a–f) and calculated based on the contents of a file or directory structure in Git

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

branch

A

when a new line of development is created that diverges from the main line of development. This alternative line of development can continue without altering the main line.

you can think of a branch as where you make a save point in your game and then decide to try out a risky move in the game. If the risky move doesn’t pan out, then you can just go back to the save point.

you can make save points on one branch, and then switch to a different branch and make save points there, too.

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