SAN FRANCISCO -- The way things are going for the Pittsburgh Pirates these days, even when they dig themselves into a hole theres still hope.You start winning a few games, regardless of what the score is, if its early we know weve got a chance to make something happen, Pirates center fielder Andrew McCutchen said.The Pirates made something happen against the San Francisco Giants on Wednesday.McCutchen had two hits, including a two-run homer, pinch-hitter Matt Joyce had a key two-run single, and Pittsburgh rallied from a four-run deficit to complete a three-game sweep of the Giants with a 6-5 victory.Thats us, McCutchen added. Thats what we do.The Pirates won their fourth straight game and sixth in seven. They remain a game behind St. Louis, which beat Houston 8-2, in the race for the NL wild card.I think this last week or two has really been fun for us, Joyce said. You can definitely tell guys are playing with that intensity and you can tell theyre hungry.McCutchens homer, his 17th, capped a six-run rally in the fifth inning that chased Giants starter Matt Cain (4-8).Cain had allowed one hit and had faced just one batter over the minimum with a 4-0 lead going into his disastrous fifth inning, when the Pirates scored six runs on four walks, three hits and a hit batsman.His first pitch to McCutchen was an 89 mph fastball over the middle of the plate, and the Pirates center fielder pounced.Pirates starter Ivan Nova allowed four runs and six hits in four innings. He struck out five and allowed no walks. Nova, who won his first two starts since coming over in a deadline trade with the New York Yankees, was lifted for Joyce after Cain hit David Freese to start the fifth and then walked three straight batters.Pirates manager Clint Hurdle said of his decision to pinch-hit Joyce wasnt a reflection on Novas performance.How do you know youre going to have another shot with the bases loaded? Hurdle asked. You take a shot when the bases are full and see what can play out.Nova is 2-0 with a 4.41 ERA in three starts with the Pirates. He hasnt allowed a walk in 16 1/3 innings with his new team. We like his stuff, Hurdle said. It was a tough day to be a National League pitcher. In the American League hes probably still pitching.Jeff Locke (9-7) pitched a scoreless fifth.Tony Watson survived a scoreless ninth after the Giants loaded the bases with no outs for his seventh save in eight tries since taking over Pittsburghs closers role.The Giants, who on Tuesday fell out of first place in the NL West for the first time in 97 days, lost their fourth straight. They fell to 9-21, the worst record in the majors since the All-Star break. They dropped 1 1/2 games behind the Dodgers, who beat Philadelphia on Wednesday night.Were taking some blows right now but its a tough club, its a resilient club, Giants manager Bruce Bochy said.They came out and did some good things today. Were creating some good chances and opportunities.The Giants failed to capitalize when it counted most.After inducing Buster Posey to ground into a run-scoring double play, Watson got Brandon Crawford to fly out to shallow center and McCutchen made a game-ending running catch.Posey was 3 for 5 with an RBI double to lead the Giants. Crawford was 2 for 5 with a double, a triple and three RBI and Angel Pagan was 3 for 4 with a double as he extended his hitting streak to 15 games.BEST WESTERNThe Pirates are 25-8 on the road against the NL West over the last two seasons and are 22-11 against the division this season. This has been key for us the last couple of years, coming out here and taking care of business, McCutchen said.TRAINERS ROOMPirates: RHP Tyler Glasnow, on the DL since July 24 with right shoulder discomfort, threw a bullpen session on Tuesday and is showing progress, Hurdle said. ... C Chris Stewart, out since July 2 with knee discomfort, had his third scheduled rehab game with Double-A Altoona rained out on Tuesday.Giants: Bochy had Posey in the lineup for a day game after a night game after the All-Star catcher missed two consecutive games with lower back tightness. I dont want him going out there if theres any risk of making it worse, he says hes fine, Bochy said. ... 1B Brandon Belt dropped to the ground after fouling a pitch off his right knee in the fifth inning but stayed in the game.UP NEXTPirates: RHP Gerrit Cole will pitch the series opener against the Marlins on Friday. Cole is 1-2 with a 6.00 ERA in three starts since pitching his first career complete game against Seattle on July 27.Giants: LHP Madison Bumgarner will pitch the series opener with the Mets on Thursday. The All-Star threw seven shutout innings against Baltimore in his most recent outing to snap a streak of five winless starts in which he was 0-3 and the Giants were 0-5. Goran Dragic Jersey . Colin Wilson had two goals and an assist, and Mike Fisher scored a goal and helped set up two others in the Predators 6-4 victory over the Red Wings on Monday night. Bam Adebayo Jersey . He said Tuesday thats a big reason why he is now the new coach of the Tennessee Titans. Whisenhunt said he hit it off quickly with Ruston Webster when interviewing for the job Friday night. https://www.heatlockerroom.com/Udonis-Haslem-City-Edition-Jersey/ . With Parker having a quiet game for once, Nicolas Batum and Boris Diaw provided the scoring as France won its first major basketball title by beating Lithuania 80-66 on Sunday. It was a victory that ended a decade of frustration for Parker and a talented French generation, which lost the final against Spain two years ago and took bronze in 2005. Meyers Leonard Heat Jersey . Andreas Johnson had a goal and two assists while Jacob de la Rose also scored for Sweden (2-0-0). Esa Lindell and Rasmus Ristolainen replied for Finland (1-1-0) Lindell opened the scoring for Finland just 41 seconds into the game, but the hosts quickly regained their composure and tied the score less than four minutes later on Wennbergs first of the game. Jimmy Butler Jersey . The injury bothered Bledsoe in the Suns victory over the Clippers on Monday and he sat out the teams home loss to Memphis on Thursday night. The Wake Forest football family is dealing with the loss of former football coach Bill Dooley, who died Tuesday of natural causes?at the age of 82.Dooley coached in Winston-Salem from 1987-92, leading the school to a 29-36-2 record. Dooley led the team to three winning seasons and won two ACC Coach off the Year awards.dddddddddddd The final game of his coaching career came in his only bowl game with Wake Forest, a 39-35 Independence Bowl victory over the Oregon Ducks. ' ' '