Git Practice Test
✕
📝 Git Practice Tests
Advanced Features
Branching and Merging
Configuration and Setup
History and Log
Remote Operations
Staging and Commits
Undoing Changes
Git General
📖 Git Study Guides
GitHub Foundations Certification (GH-900) #1
GitHub Foundations Certification (GH-900) — Practice Test 2 #2
GitHub Foundations Certification (GH-900)
🎥 Git Videos
Git Flashcards
Study Guide
Git Study Guide
Cheat Sheet
Git Cheat Sheet
Articles
Git Practice Test PDF (Free Printable 2026)
Git Software
☰
Git Practice Test
▶
Git Git Undoing Changes 2
Free · Instant Results
How do you modify the message of the most recent commit without creating a new commit?
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
▶ Start Practice Test