You can amend your commit. Use the keyword amend.
git commit --amend
this will open your editor where you can change your commit message.
in addition to @kalgi's answer i would like to add, you can set the commit message directly in the command line with:
git commit --amend -m "New commit message"
You also can use git filter-branch for that.
git filter-branch -f --msg-filter "sed 's/errror/error/'" $flawed_commit..HEAD
It's not as easy as git commit --amend, but it's useful, if you already have some merges after your erroneous commit message.
I installed ubuntu on vagrant and gave ...READ MORE
git will tell you what is ...READ MORE
I'm not very sure if looking all ...READ MORE
You can't delete, but you can always ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
check out the previous (unchanged) state of ...READ MORE
You can use interactive rebase.
git rebase -i ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.