What command initializes a new Git repository?

Quiz #4 WebDev Lec

Quiz
•
Other
•
University
•
Easy
Christine Makilang
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
git start
git new
git init
git create
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command adds changes in index.blade.php to the staging area?
git commit index.blade.php
git add index.blade.php
git push index.blade.php
git update index.blade.php
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command commits staged changes with a message?
git push -m "message"
git save -m "message"
git commit -m "message"
git update -m "message"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you check which files are modified or staged?
git check
git list
git status
git diff
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Git command shows differences between working directory and staging area?
git diff
git show
git log
git pull
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command removes a file from the staging area but keeps changes in the working directory?
git remove [file]
git reset [file]
git unstage [file]
git delete [file]
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which command shows the difference between staged changes and the last commit?
git diff --cached
git diff --staged
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Word Lesson 2

Quiz
•
KG - University
20 questions
Kuis Administrasi Jaringan

Quiz
•
University
15 questions
Latihan Prakom 1

Quiz
•
University
20 questions
NOCTI: Visual Comm./Multimedia Communication-Computer Shortcuts

Quiz
•
11th Grade - University
17 questions
Geniş Zaman

Quiz
•
University
15 questions
Essential Git Functions for Students

Quiz
•
University
20 questions
From Code to Cloud Workshop

Quiz
•
University
15 questions
LinkedIn and GitHub Quiz

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade