DIS08_2_Git

DIS08_2_Git

University

7 Qs

quiz-placeholder

Similar activities

UTB - FCNS 221PB

UTB - FCNS 221PB

University

10 Qs

Reading and Reviewing - Research Seminar

Reading and Reviewing - Research Seminar

University

10 Qs

DE quiz based on unit 1 & 2

DE quiz based on unit 1 & 2

University

10 Qs

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

VITAP Quiz-1

VITAP Quiz-1

University

10 Qs

Abhyudaya coding class -  Grade 7

Abhyudaya coding class - Grade 7

6th Grade - University

10 Qs

WN-CELLULAR CONCEPT

WN-CELLULAR CONCEPT

University

10 Qs

DIS08_2_Git

DIS08_2_Git

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Fabian Ha

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers