Resetting repo to contents.