Introduction Flashcards

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

How to start/create a git project

A

In the terminal you type, git init

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

How to add a file to the staging area?

A

git add filename

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

How to check what files are untracked, been modified etc?

A

git status

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

How to add a file from the staging area as a commit to the resopitory

A

git commit -am “Version 1”

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

How to check the commits in the respitory?

A

git log

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