Ändern Sie die Commit -Nachricht
git commit --amend -m "New commit message"
Mobile Star
git commit --amend -m "New commit message"
# with file changes
git commit --amend -m "Commit Message"
# without file changes, update only commit message
git commit --amend -m "Updated Commit Message" --no-edit
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
git commit --amend -m "New commit message"
git commit --amend
git commit --amend -m 'commit message'