Which command needs to be used to exclude test.py from this commit but keep the rest of the files?

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
B . git reset – test py
C . git checkout – file1 file2
D . git stash — file1 file 2

Answer: B

Latest 350-901 Dumps Valid Version with 169 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments