Reinitialize the repository