Module 1: Git Basics Flashcards

1
Q

git add

A

Tells git to track changes

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

git commit

A

Persists/confirms current changes

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

git push

A

Syncs changes from local to remote

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

git pull

A

Syncs changes from remote to local

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

git status

A

shows the status of the current working directory and tracked files

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

(T/F) A commit MUST always have a message

A

True. A commit always needs a message

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

What are the ways you can create a branch from the command line?

A

git checkout -b BranchName & git branch BranchName

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

For this course, how are we merging branches?

A

Pull Request via Github.com

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

(T/F) We must manually sync our changes among our local repository and the remote repository

A

True

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