use hard reset in pushing code