you can Prepare the tree object and there wil be the commit log editor with the commit message from the tip of the current branch. Then you can change your commit message.
Then you can commit to any one.