Module 1: Git Basics Flashcards
1
Q
git add
A
Tells git to track changes
2
Q
git commit
A
Persists/confirms current changes
3
Q
git push
A
Syncs changes from local to remote
4
Q
git pull
A
Syncs changes from remote to local
5
Q
git status
A
shows the status of the current working directory and tracked files
6
Q
(T/F) A commit MUST always have a message
A
True. A commit always needs a message
7
Q
What are the ways you can create a branch from the command line?
A
git checkout -b BranchName & git branch BranchName
8
Q
For this course, how are we merging branches?
A
Pull Request via Github.com
9
Q
(T/F) We must manually sync our changes among our local repository and the remote repository
A
True