
Complete Git Guide: Understand and Master Git and GitHub - Preparing the React Application for Publishing to the GitHub
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of the GitHub Pages package?
To create NPM packages
To track code changes
To manage GitHub repositories
To deploy static websites to GitHub Pages
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which flag is used to install a package as a development dependency?
--install
--save-dev
--save
--global
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to add a remote repository in Git?
git remote add
git origin add
git add remote
git add origin
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What must be set in the package.json file to specify the URL for GitHub Pages?
dependencies
scripts
homepage
repository
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in enabling GitHub Pages for a repository?
Select a branch in the GitHub Pages settings
Add a README file
Create a new branch
Push changes to the master branch
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a common solution for fixing permission errors when deploying to GitHub Pages?
Use a different computer
Change the repository name
Reinstall Git
Use SSH keys
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to deploy a website to GitHub Pages?
npm run start
npm run build
npm run test
npm run deploy
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?