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
猜你喜欢
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-01-17
相关资源
相似解决方案