commit amend no edit code example Example: git commit amend without changing message git commit --amend --no-edit