git and github
Quiz
•
Computers
•
University - Professional Development
•
Medium
Harshit Sharma
Used 56+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
1.Which of the following is the correct way to initialize a new Git repository?
git add .
git init
git commit
2.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
2.You can type git status at any point while in a git controlled directory to check the status of your files?
True
False
3.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
3.Which of the following commands will stage your entire directory and every non-empty directory inside your current directory?
git status all
git add .
git commit all
4.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
4.We've just created a new file called index.html. Which of the following will stage this one file so we can commit it?
git add index.html
git add new
git commit index.html
5.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
5.How would you commit this with the message "adding new authors to index"?
git commit -m "adding new authors to index"
git commit "adding new authors to index"
git commit .
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
6.Which of the following commands will allow you to change branches?
git checkout
git clone
git add
git commit
7.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
7. What are the different options for git reset?
--hard
--soft
--skip
--mixed
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Microsoft Word
Quiz
•
University
14 questions
Day 1 - Basics of Java
Quiz
•
Professional Development
10 questions
Node.js
Quiz
•
University
10 questions
OOPJ #1
Quiz
•
University
12 questions
Array
Quiz
•
University
15 questions
Mengenal Jendela dan Ikon Microsoft Excel
Quiz
•
7th Grade - University
10 questions
AWS Practitioner - 10
Quiz
•
Professional Development
15 questions
HTML Quiz
Quiz
•
11th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
