Git Flashcards

1
Q

How do you check what files currently have changes?

A

git status

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

How do you stage files to be committed?

A

git add

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

How do you commit changes with a message?

A

git commit -a -m “my message”

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

How do you push your changes to remote/central repo?

A

git push

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