git แก้ไขก่อนข้อความหลังจากผลัก
$ git commit --amend -m "New and correct message"
ยังไงเพื่อเปลี่ยนแปลงก่อนข้อความหลังจากผลัก
git commit --amend -m "New commit message"
Then
git push --force
and you're done
เปลี่ยนก่อนข้อความหลังจากผลัก
git push --force-with-lease <repository> <branch>
เปลี่ยนก่อนข้อความหลังจากผลัก
git push --force <repository> <branch>