使用 gitbash 提交更改

Issue with gitbash to commit changes

我想从本地存储库向 GitHub 提交一些更改。 我无法提交更改,然后将其推送到远程存储库。

有人可以给我建议吗?

删除“|”在命令中。
它是管道符号,它正在等待另一个并行命令。

请确保语法正确。

git commit -m "commit message"

以上语句是提交的有效语法

git commit -m "add a python script that prints a message greeting |"

如上声明,请确保您的提交消息用引号引起来