Getting Started with git init

Getting Started with git init

University

10 Qs

quiz-placeholder

Similar activities

DevNet Express

DevNet Express

10th Grade - Professional Development

11 Qs

Git Github

Git Github

University

10 Qs

GitThat30Bro

GitThat30Bro

University

15 Qs

IOTA : Web Development Bootcamp Quiz 5

IOTA : Web Development Bootcamp Quiz 5

University

10 Qs

Mastering Git Commands

Mastering Git Commands

12th Grade - University

15 Qs

Github Quiz

Github Quiz

University

10 Qs

ITESA Roadmap Event 12-09-24

ITESA Roadmap Event 12-09-24

University

10 Qs

DIS08_2_Git

DIS08_2_Git

University

7 Qs

Getting Started with git init

Getting Started with git init

Assessment

Quiz

Computers

University

Hard

Created by

Hack4Bengal Hack4Bengal

Used 4+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?