我有像 git 这样的问题

当我这样做时git commit。然后我试了一下git commit -m,它告诉我error: switch 'm' requires a value
我对此很困惑,你能给我一些想法吗?
-m 开关表示您将添加提交消息(提交名称)。当您输入 -m 时,意味着您将在其后输入一个字符串,例如:
git commit -m "This is my first commit - I changed xy class in it"
Run Code Online (Sandbox Code Playgroud)
而且,
git commit -a -m "add button to signup flow"
Run Code Online (Sandbox Code Playgroud)
等于:
git add .
git commit -m "add button to signup flow"
Run Code Online (Sandbox Code Playgroud)
笔记: