reinitialize the repo