exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 460 discussion

Actual exam question from Cisco's 200-901
Question #: 460
Topic #: 1
[All 200-901 Questions]

A developer is working on a new feature named ‘feat434370483’ in a branch. A file named ‘devasc321345515.jpg’ has accidentally been staged. The developer needs to remove this so that the commit is performed and branches are merged. Which Git command must be used to unstage the file?

  • A. get delete HEAD devasc321345515.jpg
  • B. get reset HEAD devasc321345515.jpg
  • C. git remove HEAD devasc321345515.jpg
  • D. git revert HEAD devasc321345515.jpg
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
StewartJ
5 months ago
Selected Answer: C
confirmed via documentation C
upvoted 1 times
...
Ghneuma
11 months, 4 weeks ago
Selected Answer: B
git reset HEAD devasc321345515.jpg https://www.atlassian.com/git/tutorials/undoing-changes https://www.atlassian.com/git/tutorials/resetting-checking-out-and-reverting
upvoted 4 times
...
wildbandana
1 year ago
Selected Answer: A
checked in docs
upvoted 1 times
...
wildbandana
1 year ago
C checked in docs
upvoted 1 times
...
lightmagenta
1 year ago
correct answer is C
upvoted 1 times
...
peterbuza
1 year ago
Selected Answer: B
Should be git on the exam
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...