MCQs > IT & Programming > Git > How does this command alter the currently checked-out branch? git reset --soft HEAD^

Git MCQs

How does this command alter the currently checked-out branch? git reset --soft HEAD^

Answer

Correct Answer: It sets HEAD to 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