Depleted in numbers but not in spirit, the San Francisco Giants reverted to their familiar combination for success, featuring plenty of pitching and just enough offense, to outlast the Chicago Cubs, 4-2, in a tense, taut Wednesday night encounter.