A git script to rewrite history with some command