Skip to content

Correct spelling error on commit message? #21711

Answered by seveas
JStateson asked this question in New to GitHub
Discussion options

You must be logged in to vote

You can use

git commit --amend

to modify the latest commit. If you had already pushed the ‘bad’ commit, you would then need to force-push it, which may or may not be what you want.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants