Version Control and Git-GitHub

Quiz
•
Other
•
University
•
Hard

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
Similar Resources on Wayground
7 questions
Literasi UT Surabaya

Quiz
•
University
10 questions
Modern Inventions

Quiz
•
University
15 questions
Engineers Day Celebration Quiz - Code IT, STME HYD

Quiz
•
University
10 questions
PJMT 2103: Week 4: PM Scope Management

Quiz
•
University
15 questions
Project Management Frameworks Quiz

Quiz
•
University
15 questions
LinkedIn and GitHub Quiz

Quiz
•
University
13 questions
Kuis Untuk Mahasiswa

Quiz
•
University
15 questions
MIS Chapter 6

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University