DEV Community

Discussion on: Replace accidentally committed git author information from git history

Collapse
 
deshanm profile image
Deshan Madurajith • Edited

No. it just replaces author name and email in the entire git history. It does not change anything else like commit, branch, committed date.

Edit: It changes the hash. Thanks to @daniguardiola

Collapse
 
daniguardiola profile image
Dani Guardiola_

So the commit hashes stay the same? I though the authorship was part of the hash pre-image

Thread Thread
 
deshanm profile image
Deshan Madurajith

Sorry, I was wrong. I just checked It changes the git hash. Thanks. I will update the post.