gitfaq icon indicating copy to clipboard operation
gitfaq copied to clipboard

"How do I change my last commit message" is confusing

Open aeciorc opened this issue 6 years ago • 0 comments

The difference between --ammend and --ammend -o is not clear here.

--amend without other options combines the currently staged changes with the last commit

To update the last message even if there are staged changes (...) then you can use the -o

Am I missing something or does the wording above makes it seem like the two commands do the same thing?

aeciorc avatar Jun 28 '19 13:06 aeciorc