Answers for "git edit before the last one commit message"

1

git edit last 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
Posted by: Guest on March-08-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language