Iván Herrera hit a tying two-run homer in the decisive fifth inning before St. Louis scored the go-ahead run on San Francisco second baseman Casey Schmitt’s error and Jordan Walker added an RBI groundout, sending the Cardinals past the Giants 6-5 on Monday night. Michael McGreevy (8-3) allowed five runs on six hits over five innings. The right-hander came in with an 11-inning scoreless streak, but that ended when he surrendered a leadoff home run to Heliot Ramos to begin his outing.