Amend a commit message with git
To amend the most recent commit message in git,
git commit --amendwhich brings up the editor to edit the commit message, or
git commit --amend -m "your new message"to use "your new message" as the commit message.
git rebase --interactive
Copyright © Ben Bullock 2009-2024. All
rights reserved.
For comments, questions, and corrections, please email
Ben Bullock
(benkasminbullock@gmail.com).
/
Privacy /
Disclaimer