Continued to my previous question, I need to use git filter-repo
in order to modify the Author name and Comitter name of some of the commits recorded in my repository's log .But I have some troubles about this.
The problem
I have a file named my-mailmap
in the directory of my local repository, which is formatted
CorrectName <correct@email.com> <old@email.com>
CorrectName
is the new name with which I want to replace the name recorded in logcorrect@email.com
is the new email with which I want to replace the old email recorded in logold@email.com
is the old email recorded in log
Then, I opened cmd and implemented the command:
git filter-repo --mailmap my-mailmap
And the result is
Cannot read my-mailmap
What is happening? I couldn't find any report of this error message.
Maybe I have some mistakes in syntax of mailmap and I'm trying to find them. I would appreciate if you give me any information.
Other informations
I installed Python
and git-filter-repo
using Scoop as shown here in my Windows 10 PC.