Reinitialize repository.