Script to rebuild git history, applying code cleanup to every version
Posted
by rjmunro
on Stack Overflow
See other posts from Stack Overflow
or by rjmunro
Published on 2010-03-23T13:58:13Z
Indexed on
2010/03/23
17:43 UTC
Read the original article
Hit count: 413
Has anyone got a script for git that can go through the history, check out each version, apply a cleanup script, then check the cleaned version into another repository?
I have some code which I've been developing, but I haven't been consistent with code formatting e.g. tabs vs spaces etc. I'd like to rewrite my entire history to be consistent with the new standards.
© Stack Overflow or respective owner