Resetting the repository