amend the last commit that has been pushed code example Example: change message from last pushed commit git commit --amend