git поправка
git commit --amend
Difficult Dugong
git commit --amend
# make your change
git add . # or add individual files
git commit --amend --no-edit
# now your last commit contains that change!
# WARNING: never amend public commits