I made 3 commits in the local repository and sent it to the remote repository using push
.
I noticed that the message from one of the commits was wrong. How do I change the message under the following conditions:
That is:
1. Repositóro remoto
o--->A--->B--->C
2. Programador X
o--->A--->B--->C
3. Programador Y
o--->A--->B--->C--->D
Repositóro remoto
o--->A--->B--->C--->D
4. Programador Z
o--->A--->B--->C--->E
Repositóro remoto
o--->A--->B--->C--->D
Assuming that the commit with the wrong message is B
, how to correct the message?