在使用git提交代码的时,git commit -m "内容" 如果内容编写错误:
git commit -m "内容"
使用git commit --amend 对上次提交的内容进行修改 然后git push 即可。
git commit --amend