ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 204 - 350-901 discussion

Report
Export

A developer has issued git add file1 and file2 test.py command to add the three files for the next commit, but then decides to executed test.py from this command. Which command needs to be used to exclude test.py from this commit but keep the rest of the files?

A.

git clean — test.py

Answers
A.

git clean — test.py

B.

git reset - test py

Answers
B.

git reset - test py

C.

git checkout - file1 file2

Answers
C.

git checkout - file1 file2

D.

git stash -- file1 file 2

Answers
D.

git stash -- file1 file 2

Suggested answer: B
asked 10/10/2024
Brandy Butman
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first