List of questions
Related questions
Question 204 - 350-901 discussion
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
Your answer:
0 comments
Sorted by
Leave a comment first