Change name of commit - GIT


I have such tasks to do. Last task left: The message for the first commit in your repo should be Initial commit. I made a mistake and gave the first commit a different name. After that, there are 4 more commits.

[image]

I typed: git rebase --interactive HEAD ~ 5, but it only shows 4 commits and not the first one.

I need to rename the first commit.

gitlog

“fix: small changes” going to be called “Initial commit”.