Version Control and Git-GitHub

Version Control and Git-GitHub

University

10 Qs

quiz-placeholder

Similar activities

REVISTA DINERO

REVISTA DINERO

University

9 Qs

Nuclear Energy

Nuclear Energy

KG - University

10 Qs

Git Github MLSA

Git Github MLSA

University - Professional Development

10 Qs

Essential Git Functions for Students

Essential Git Functions for Students

University

15 Qs

SIA 101-WEEK 3

SIA 101-WEEK 3

University

10 Qs

Version Control System

Version Control System

University

15 Qs

DevOps Essentials & Getting started with Azure DevOps

DevOps Essentials & Getting started with Azure DevOps

University

12 Qs

LinkedIn and GitHub Quiz

LinkedIn and GitHub Quiz

University

15 Qs

Version Control and Git-GitHub

Version Control and Git-GitHub

Assessment

Quiz

Other

University

Hard

Created by

Ishita Agrawal

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What is the best way to report a bug to a GitHub project?

Send an email to a project owner.

I don't bother reporting software bugs because there's no transparency and they never get fixed anyway.

Search for the bug in the project's existing issues and create a new one if it hasn't been reported yet.

None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How do you include a new file to your Git index?

a. Using the 'git include' command

b. Using the 'git add' command

c. Using the 'git commit' command

None of these

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Suppose you'd like to work with a project on GitHub, but you don't have write access to the project. What can you do to contribute?

Fork the project's repository to your GitHub account, clone the forked repository to your local machine, push changes to your repository, and submit a pull request to the target (upstream) repository.

Clone the project to your local machine and push updates directly to the project repository.

Use git commands to make a copy of the project so that you can work locally. Submit an issue to get your changes into the target repository.

None of these

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Suppose you created a bug fix on a new branch and want it to become part of the next production build generated from the main branch. What should you do next?

Copy your branch changes and commit them directly to the main branch.

b. Create a pull request to merge your new branch into the main branch.

On second thought, maybe I won't share this fix. I'll just put it in my own private version of the source code.

None of these

5.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What is a way to fix one of your past commits without needing to make a new commit?

a. Deleting the file and creating a new one in its place with the correct changes.

b. Utilizing the Git 'amend' tag

c. Revert the commit and make a new one

None of these

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following scenarios is a common use case for a version control system?

Deleting earlier versions of a project or file, so you know you are working only with the most current file or data.

Making experimental changes to your project in an isolated branch.

Gathering feature requirements for a large project and communicating them to stakeholders.

None of these

7.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What Git command gives information about how to use Git?

git init

git status

git help

None of these

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?