

Module2Flashcard
Flashcard
•
Other
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

7 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which command stages all changes in the working directory?
Back
git add .
2.
FLASHCARD QUESTION
Front
What does git commit -m "Initial commit" do?
Back
Records staged changes
3.
FLASHCARD QUESTION
Front
How do you view the commit history?
Back
git log
4.
FLASHCARD QUESTION
Front
What happens when you run git reset HEAD file.txt?
Back
Removes the file from the staging area but keeps changes in the working directory
5.
FLASHCARD QUESTION
Front
Which command shows changes made between two commits?
Back
git diff
6.
FLASHCARD QUESTION
Front
How do you remove untracked files from the working directory?
Back
git clean -f
7.
FLASHCARD QUESTION
Front
Which file is used to ignore specific files from being tracked?
Back
.gitignore
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?