Skip to content

theyeag/git-rewrite-author

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Rewrite author/committer history of a git repository

Have you ever accidentally committed to a git repository with a broken user config? No? But your co-workers have?

So, you're stuck with commits like this:

Author: root <root@localhost>

    Hotfix on the production server.  This was urgent!

Nasty. Or:

Author: John Doe <john@localhost>

    Fixed bug #1.  Committed on my laptop.

Would it be nice to rewrite history? And take care of committers, as well as of authors? Without all the hassle? Now, you can!

Usage:

$ git-rewrite-author -w "John Doe <john@localhost>" "John Doe <dearjohn@example.com>"

You're not sure which authors/committers are hidden in your repository? What about:

$ git-rewrite-author -l

Tags are rewritten automagically, too!

Enjoy!

About

Rewrite author/committer history of a git repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published