Skip to content

pierrechls/changing-author-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

version

changing-author-info

Changing the Git history of your repository using a script with parameters

🚀 How to use it

Get script from the repository

wget https://raw.githubusercontent.com/pierrechls/changing-author-info/master/git-author-rewrite.sh

Make it executable [optional]

chmod +x git-author-rewrite.sh

Run the script

./git-author-rewrite.sh "old-email@example.com" "Correct Name" "correct-email@example.com"

Push the corrected history to GitHub:

git push --force --tags origin 'refs/heads/*'

🎉 Credits

Project inspired by a github article.

Releases

No releases published

Packages

No packages published

Languages