hardly reset local copy to origin