Lesson 1 Flashcards

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

Git

A

Version control system for web developers

Helps keep track of changes made to a project

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

git init

A

Creates new Git repository

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

git status

A

Inspects contents of the working directory and staging area

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

git add filename.txt

A

Adds files from the working directory to the staging area

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

git diff filename.txt

A

Shows the difference between the working directory and the staging area

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

git commit

A

Permanently stores file changes from the staging area in the repository
git commit -m “Brief message that describes changes so far”

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

git log

A

Shows list of all previous commits

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