Git Practice Test
Git Git Undoing Changes 2
How do you modify the message of the most recent commit without creating a new commit?
Select your answer
A
git reset --soft HEAD~1 followed by git commit
B
git commit --amend -m "new message"
C
git revert HEAD --message "new message"
D
git log --amend
Hint
β¨ Remove Ads & Unlock Every Exam
β From $1.49
π Study This Quiz as Flashcards β