SAN FRANCISCO – Kevin Gausman made a significant mistake on Saturday when he dropped a fastball over the center of the plate at 96 mph in the second inning that Patrick Wisdom took over the midfield wall.

Otherwise, Gausman was about as brilliant as he was all year, hitting 10 and allowing only two walks over seven innings to lead the error-prone Giants to a 4-3 win over the Cubs at Oracle Park.

Alex Dickerson hit a solo house in the third inning and Chadwick Tromp and LaMonte Wade Jr. both had RBI singles in the fourth when the Giants won for the seventh time in eight games.

San Francisco will try to sweep its four-game streak with the Cubs on Sunday afternoon.

After Wisdoms Homer put the Cubs 2-0 up, Gausman pulled 16 of the next 17 batter back as he has now held out at least six innings in 11 of his 12 starts this year. Jake McGee took a perfect eighth place and Tyler Rogers earned his eighth save after some hairy moments in ninth place.

Rogers induced four straight ground balls in the ninth round, but could only record one out.

With the Giants 4-2 lead, Mauricio Dubón had some shaky moments in the infield and in one scary moment, Evan Longoria clashed with Brandon Crawford when both pitched an Anthony Rizzo grounder. A Cubs’ Run scored a goal in the game as Longoria stayed on the infield mud for a few moments before leaving the game.

With two runners, Rogers knocked out Willson Contreras and got Jason Heyward to go against Dubón to end the game. The Giants made three mistakes in the game, with two being charged in the ninth.

KAZMIR OUTPUTS: Left-handed Scott Kazmir was drafted for an assignment by the Giants, which leaves him with an uncertain future less than four months after his unlikely comeback. The Giants now have seven days to either swap Kazmir or to waive him.

In a corresponding move, the Giants called back the right-handed pitcher Camilo Doval from Triple-A Sacramento.

In a point start on Friday, Kazmir allowed three hits and two earned runs in two innings, resulting in an 8-5 Giants win over the Cubs. In three appearances that season, including two starts, Kazmir had a 0-1 record and an ERA of 6.43 in 7.0 innings.

If Kazmir confirms waivers, he can join the River Cats or request his release.

Kazmir has been blacklisted since Monday so he could go to Houston to attend to a personal matter that the San Francisco Chronicle reported was the death of close friend Jimmy Tran.

Friday’s start was the 299th of Kazmir’s MLB career, but only his second since 2016, after not playing in the major leagues for four seasons before starting for the Giants against the Dodgers on May 22.

A three-time All-Star, Kazmir signed a minor league deal with San Francisco at the start of spring training in hopes of a major league comeback. Kazmir performed for Sacramento on May 9th and 15th before the Giants selected his contract on May 22nd.

MLB FIRST: At the beginning of Pride Month, Giants players and coaches wore jerseys with an SF logo “Pride Patch” on their right sleeves and hats that integrate the Pride colors into the SF logo. The Giants are the first MLB team to incorporate Pride colors into their uniforms on the field. Giant’s third baseman Evan Longoria wore a sleeve on his left arm with the colors of the pride rainbow.

Prior to the game, the Giants hoisted a rainbow flag of progress pride and a transgender identity flag in midfield, which is where it will stay for the remainder of this month.

“I think it’s an exciting moment for our team, for our organization,” said Giants manager Gabe Kapler before the game on Saturday. “I am very proud of our group for publicly supporting the LGBTQ + community. This is an important step and we all support the community. ”

BELT UPDATE: Kapler said Brandon Belt, who has been on the injured list since May 26 with a slight left oblique load, could be activated as early as Sunday when the Giants close their four-game streak with the Cubs.

BEEDE UPDATE: Kapler said the Giants had extended Tyler Beede’s rehab assignment. Beede, who underwent an operation on Tommy John last March, had five strikeouts but allowed six earned runs on six hits in four innings in his start for Sacramento against Reno on Friday. Beede threw 77 pitches.