Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-400 Exam - Topic 1 Question 131 Discussion

Posted by Chi on Mar 30, 2026 at 08:47 AM

You have a GitHub repository named repol.

You commit a change to repol.

You need to update the commit message. The solution must ensure that the version number remains the same.

Which command should you run?

Suggested Answer: B

Get Premium AZ-400 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
AS
Asuncion 3 months ago
I feel confused. Why not A) git commit --patch? It sounds similar.
RE
Reuben 3 months ago
Agreed! It updates the last commit message without changing the version.
BE
Bette 3 months ago
I think it's B) git commit --amend.
TA
Tamera 4 months ago
git status --renames? That's not even related!
ON
Ona 4 months ago
I thought git commit --patch was for staging changes, not messages.
ZO
Zoila 4 months ago
Wait, can you really change the message without changing the version?
FE
Felix 5 months ago
Totally agree, that's the right command.
BR
Brande 6 months ago
B) git commit --amend is the way to go!
LO
Lorean 6 months ago
I don't recall seeing git status --renames in any of our practice questions. It seems unrelated to changing commit messages.
CA
Carin 7 months ago
I'm not entirely sure, but I feel like git commit --patch is more about staging changes rather than updating messages.
CH
Chau 7 months ago
I remember practicing a similar question where we had to amend a commit. I think the answer is git commit --amend.
SA
Sarina 7 months ago
I think we might need to use the command that allows us to modify the last commit message without changing the version number.
0/2000 characters

Save Cancel