git commit -m ‘注释内容’ 假设,注释内容写错了,可以不用撤回提交,用 --amend 参数修改 git commit --amend 进入编辑模式,修改完保存即可 参考: https://blog.csdn.net/w_p_wyd/article/details/126028094本栏目推荐文章linux 安装最新版本gitgit bash报错fatal: detected dubious ownership in repository at的解决方法git commit规范Git提交规范如何把已有项目上传到git一段shell代码可用于git部署代码到服务器的操作openEuler欧拉设置git pull免密git常用命令安装篇 —— gitConditional Git Configuration 有条件配置Git信息注释 commit git注释commit git commit git commit信息git git-commit-id-plugin git specified describe commits commit squash merge git 分支commit历史git 模式git命令commit messages commit git quot checkout commit git