git amend last commit message
$ git commit --amend -m "New and correct message"
git amend last commit message
$ git commit --amend -m "New and correct message"
git amend
git commit --amend -m "an updated commit message"
add change to last commit
$ (some_branch) git commit --amend
git ammend commit
# Edit hello.py and main.py
# git add hello.py ---> git commit
# Realize you forgot to add the changes from main.py
# git add main.py
git commit --amend --no-edit
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