Git basics

Git basics

University

10 Qs

quiz-placeholder

Similar activities

Web Apps 01 - CLI (Terminal, Git, Meteor)

Web Apps 01 - CLI (Terminal, Git, Meteor)

University

15 Qs

Programación 1 Level 2

Programación 1 Level 2

University

12 Qs

Introducción

Introducción

University

9 Qs

Git Quiz

Git Quiz

University

13 Qs

Git and Github

Git and Github

University

15 Qs

Getting Started with git init

Getting Started with git init

University

10 Qs

Mastering Git Commands

Mastering Git Commands

12th Grade - University

15 Qs

HacktoberFest Quiz Day 2

HacktoberFest Quiz Day 2

University

12 Qs

Git basics

Git basics

Assessment

Quiz

Computers

University

Medium

Created by

Mathieu Chauvin

Used 33+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these terms best describes git?

Integrated development environment

Issue tracking system

Distributed Version control system

Web-based repository hosting service

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command allows me to view my repository's history?

git commits

git log

git commit --history

git history

3.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

What is the "staging area"?

It is the current area of work, with the files of the project

It is the content of the .git/ directory, with the information collected by git

It is current position in the history log for the current branch

It is the set of files that will form part of the next commit

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can I add a file to the staging area?

git add file.txt

git commit file.txt

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct order to submit your changes from the working directory to the remote repository?

git add, git push, git commit

git add, git commit, git push

git push, git add, git commit

git commit, git add, git push

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Github and Gitlab are simply a "Git-as-a-service"

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I interactively rebased "main" branch on my computer and changed commits order. Can I safely force push on the remote?

Yes

No

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?