git and github

git and github

University - Professional Development

10 Qs

quiz-placeholder

Similar activities

Clasificación de Bases de Datos

Clasificación de Bases de Datos

10th Grade - University

10 Qs

PYTHON_CHAPTER 6

PYTHON_CHAPTER 6

University

10 Qs

Gaming and social network .

Gaming and social network .

University

11 Qs

Datatypes and Flowcontrol

Datatypes and Flowcontrol

Professional Development

15 Qs

MS Power Point - ամփոփում

MS Power Point - ամփոփում

Professional Development

12 Qs

CSC413 - Sound

CSC413 - Sound

University

10 Qs

Quiz # 1 in Capstone Project and Research 1

Quiz # 1 in Capstone Project and Research 1

University

15 Qs

Unit 28 - Quiz #1

Unit 28 - Quiz #1

University

15 Qs

git and github

git and github

Assessment

Quiz

Computers

University - Professional Development

Practice Problem

Medium

Created by

Harshit Sharma

Used 56+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?