remove all history to make cloning fast