git提交时git commit -m "错误文字不小心提交了" 若没有push 只需要再执行这句即可:git commit --amend -m "这才是要提交的文字" 相关文章: 2022-12-23 2021-08-19 2021-08-27 2021-07-25 2021-08-20 2021-11-29