don't allow github reset to go negative