Getting Started with git init

Getting Started with git init

University

10 Qs

quiz-placeholder

Similar activities

Introduction to Excel

Introduction to Excel

KG - Professional Development

10 Qs

POP QUIZ 4 (DFC40243)

POP QUIZ 4 (DFC40243)

University

10 Qs

Enterprise development - JEE

Enterprise development - JEE

University

10 Qs

Introduction to NumPy (easy)

Introduction to NumPy (easy)

University

10 Qs

Lourdes Amaranta Ayala Gracia

Lourdes Amaranta Ayala Gracia

8th Grade - University

10 Qs

6-文件操作

6-文件操作

University

10 Qs

Chap 1: What is a program made of?

Chap 1: What is a program made of?

University

13 Qs

CompTIA Core 2  20221023

CompTIA Core 2 20221023

University

10 Qs

Getting Started with git init

Getting Started with git init

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Hack4Bengal Hack4Bengal

Used 4+ 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 CHOICE QUESTION

20 sec • 1 pt

Command to remove file

touch File_Name

rm file_name

rm file_name

git delete File_Name

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How to add a file to staginging area?

git add

git commit add

git remote add

git log add

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the need to branch?

Create Backups

It's necessary to make a project

Split Code into multiple parts

Multiple people can collaborate prallely

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How to check previous changes on the code?

git status

git commit

git log

git checkout

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How to create a test1 branch from main branch?

git create test1

git checkout test1

git checkout -b test1

git checkout b -test1

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the need to fork a repository?

PR (Pull requests) cannot be made without forking

Aise hi acha lagta hai

Commits cannot be made to the main repository if not a contributor

You cannot clone without forking

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How to add a remote in Git?

git commit remote add REMOTE_LINK

git remote add origin REMOTE_LINK

git push origin REMOTE_LINK

git origin add REMOTE_LINK

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

Already have an account?