It almost seemed like a lost cause in the desert, but a late effort by the Giants propelled them to a series victory over the Diamondbacks.