cleaning the repository to start again