how to change a commit message after push
git commit --amend -m "New commit message"
Then
git push --force
and you're done
how to change a commit message after push
git commit --amend -m "New commit message"
Then
git push --force
and you're done
git amend commit message after push
$ git commit --amend -m "New and correct message"
git amend commit message after push
git checkout branch_name
git commit --amend -m "Modified message"
# if previous commit is not pushed yet
git push
# or if previous comment was pushed in a previous commit:
git push --force-with-lease branch_name
change message from last pushed commit
git commit --amend
change commit message after push
git push --force <repository> <branch>
change commit message after push
git push --force-with-lease <repository> <branch>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us