GitHub Session2

GitHub Session2

University

26 Qs

quiz-placeholder

Similar activities

Kimia fisika

Kimia fisika

University

22 Qs

Git e Github

Git e Github

University

30 Qs

Command OS 20200415

Command OS 20200415

University

25 Qs

Linux

Linux

University

25 Qs

Linux Сессия

Linux Сессия

University

25 Qs

BIM 1 Study Practice Test

BIM 1 Study Practice Test

10th Grade - University

27 Qs

DMV

DMV

9th Grade - Professional Development

22 Qs

Apps

Apps

5th Grade - Professional Development

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