resetting repo dir