Getting Started with git init

Getting Started with git init

University

10 Qs

quiz-placeholder

Similar activities

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

ລະບົບຖານຂໍ້ມູນ ທົດສອບ1

ລະບົບຖານຂໍ້ມູນ ທົດສອບ1

University

15 Qs

Microsoft Word

Microsoft Word

University

10 Qs

EXCEL

EXCEL

University

15 Qs

Operating System

Operating System

University

15 Qs

Excel Quiz

Excel Quiz

KG - University

15 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

DBMS-Quiz1

DBMS-Quiz1

University

15 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?