Correct Answer: It sets HEAD to the previous commit and leaves changes from the undone commit in the stage/index.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Git Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Git MCQ Questions
You find a bug in your project, but can't locate where it was introduced in the commit history. How would you diagnose this problem?
Why would the following command be used? Git rebase -i HEAD~10
Why would you use a pre-receive hook in your remote repository?
What option can you use to apply git configurations across your entire git environment?
How could you squash multiple commits together without using git merge --squash?
What does the command `git add -A` do ?
What does "git add ." do?
Which command pushes the commits to the master branch in the origin remote
Which command could be used to show what will be committed.
How do you remove a number of deleted file(s) at one go?