Изменить комментарий к коммиту в Git
Изменить комментарий последнего коммита
git commit --amend -m 'New commit message'git push --force <branch-name>git push -f originИзменить комментарий у нескольких (или одного) коммитов (более поздних)
git rebase -i HEAD~3pick 64e2b94 Fix. Table...
pick eb538db Add. New procedure...
pick c427a24 Add. New table...
# Rebase ... onto ... (3 commands)
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
# x, exec = run command (the rest of the line) using shell
# d, drop = remove commit
...Last updated