resets repository