Skip to content

vuongtlt13/change-git-author

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

change-git-author

Change git author using .mailmap file

Requirements:

  • git-filter-repo

    python3 -m pip install --user git-filter-repo
    

Steps:

  1. Change mailmap file
  2. Run scripts change-git.sh in a repository folder

Note: Must enable push force for the target branch

Format mailmap file

<new-email> <old-email>
NewName <new-email> OldName <old-email>

For example:

<abc@gmail.com> <abc1@yahoo.vn>
<abc@gmail.com> <abC@gmail.com>

About

Change git author using .mailmap file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages