GitHub Session2

GitHub Session2

University

26 Qs

quiz-placeholder

Similar activities

Digital Imaging and Design C5 - Color in Digital Media

Digital Imaging and Design C5 - Color in Digital Media

9th Grade - University

25 Qs

linux command

linux command

University

25 Qs

Inter School Quiz (Sinhala Medium) Paper 02

Inter School Quiz (Sinhala Medium) Paper 02

1st Grade - University

25 Qs

pibble

pibble

University

27 Qs

QUIZ EXCEL

QUIZ EXCEL

1st Grade - University

25 Qs

1.05 & 1.06 Vocabulary

1.05 & 1.06 Vocabulary

KG - University

21 Qs

Econ 104 Exam 3

Econ 104 Exam 3

University

22 Qs

medical softwaree

medical softwaree

University

28 Qs

GitHub Session2

GitHub Session2

Assessment

Quiz

Other

University

Medium

Created by

Daba Own

Used 1+ times

FREE Resource

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. What command is used to create a new branch?

  1. git branch new

  1. git create-branch

  1. git start-branch

  1. git branch <name>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. What is the default branch name in modern Git?

  1. CSE

  1. default

  1. main

  1. trunk

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What Git feature lets you manage multiple features or fixes separately?

  1. Logs

  1. Branches

  1. Commits

  1. Diffs

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What happens when you merge two branches?

  1. One is deleted

  1. You replace the main branch

  1. You combine their commit histories

  1. You undo changes

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. What is the " .gitignore " file used for?

  1. To exclude specific files/folders from tracking

  1. To ignore merge conflicts

  1. To ignore commands

  1. To list deleted files

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What is a fast-forward merge?

  1. A merge with no changes

  1. A direct update of the main branch pointer

  1. A merge with a time limit

  1. A pull from a remote

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. When do merge conflicts occur?

  1. When forgetting " git add "

  1. When files are missing

  1. When pushing to remote

  1. When two branches modify the same lines

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?