Which command needs...
 
Notifications
Clear all

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

1 Posts
1 Users
0 Likes
86 Views
(@hepnerjacques)
Posts: 705
Noble Member
Topic starter
 

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

Show Answer Hide Answer

Suggested Answer: B
 
Posted : 22/11/2022 8:41 am

Latest Cisco 350-901 Dumps Valid Version

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