DIS08_2_Git

Quiz
•
Computers
•
University
•
Hard
Fabian Ha
Used 1+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
git diff
git log
git status
git add filename
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The command git status shows
A git project’s commit history
Untracked files only
Untracked files and file changes staged for commit
File changes staged for commit
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The commit message lacks quotation marks
The “-m” option is not necessary here
The commit message should be in all caps
The “-m” option goes before the word “commit”
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Changes the name of a branch
Lists the commit history of the new branch
Switches you over to a new branch
Creates a new branch
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A Git project has a branch “bug-fix”. How do you switch to it?
git branch bug-fix
git switch master bug-fix
git checkout bug-fix
git switch bug-switch
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Why is the branch name “my branch” invalid?
The word “my” cannot be used
Valid branch names must contain a dash
Branch names cannot contain whitespace
Branch names must be capitalized
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does git init do?
Commit your files to the repository
Delete a git project
Initialize a new git project
Add all files to the staging area
Similar Resources on Wayground
10 questions
Git/Github

Quiz
•
University
9 questions
Git and GitHub

Quiz
•
University
5 questions
Info git/github

Quiz
•
University
10 questions
Information systems analysis and design

Quiz
•
University
10 questions
Introduction to Git and Github

Quiz
•
University
5 questions
Software Engineering Session 2

Quiz
•
University
7 questions
Intro to GitHub

Quiz
•
University
10 questions
KUIS 1 Pemrograman Web A1

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade