Git Video - Local Flashcards

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

subl .

A

brings up sublime text with all files in directory

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

git init

A

starts a new code base in a folder, pick folder you want, command git init, inside simon-stamp, have its own folder with .git

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

git status

A

state of my code, which branch, untracked or unstaged files, or tracked/staged files

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

git add

A

gets files ready to commit

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

git add .

A

gets files ready to commit (with . gets all files in directory ready)

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

git commit -m “message here”

A

git commit with message (write in present tense)

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

git log

A

shows all commits and shaw keys and messages

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

git reset (shaw key) –hard

A

get back to the old commit place you want

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