Reset of repository