nerdexam
CiscoCisco

200-901 · Question #502

200-901 Question #502: Real Exam Question with Answer & Explanation

Sign in or unlock 200-901 to reveal the answer and full explanation for question #502. The question stem and answer options stay visible for context.

Software Development and Design

Question

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?

Options

  • Aget delete HEAD devasc321345515.jpg
  • Bget reset HEAD devasc321345515.jpg
  • Cgit remove HEAD devasc321345515.jpg
  • Dgit revert HEAD devasc321345515.jpg

Unlock 200-901 to see the answer

You've previewed enough free 200-901 questions. Unlock 200-901 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Git#Version Control#Unstaging files#Developer workflow
Full 200-901 PracticeBrowse All 200-901 Questions