MCQs > IT & Programming > Git > What does the following command do to the git repository? git reset --soft HEAD^

Git MCQs

What does the following command do to the git repository? git reset --soft HEAD^

Answer

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

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Git Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it