
git basics
Authored by Sahil Dhawan
Computers
Professional Development
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How do you start git?
$ git init
$ git clone
$ git start
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Show a list of all the commits that have been made.
$ git commits
$ git log
$ git branch
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Create a branch called working
$ git branch -d working
$ git pull origin working
$ git checkout -b working
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Put everything up on the remote repository.
$ git commit
$ git add
$ git push
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How do you determine the current state of the project?
$ git log
$ git state
$ git status
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Move all your changes since your last commit to the staging area.
$ git commit .
$ git add .
$ git push .
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Switch to the branch "working"
$ git checkout working
$ git checkout -b working
$ git checkout -d working
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?