PHILADELPHIA (AP) - Michael Harris II and Matt Olson homered, Austin Riley stretched his hitting streak to 18 games and the Atlanta Braves beat the Philadelphia Phillies 6-3 Tuesday night to end a two-game skid.
Dansby Swanson added three hits and Spencer Strider was sharp over six innings as Atlanta remained the only team in baseball without a three-game losing streak this season.
"We know that every day is its own day and you have to prepare to win every night," Swanson said. "That's what we do. We're professionals here."
Strider (5-3) allowed three hits and a run as Atlanta improved to 36-13 since June 1.
Manager Brian Snitker earned his 500th victory, all with the Braves.
"It is a great group of guys to be a part of," Snitker said. "We had a little champagne toast afterward (in the clubhouse) and that was nice. I'm proud to be here and to have done it all here with the Braves. This is my home."
Riley had two doubles and an RBI. Since July 5, Riley is hitting .444 (32 for 72) with nine doubles, eight homers and 16 RBIs.
Kyle Schwarber's NL-leading 31st homer in the sixth inning got the Phillies on the board while J.T. Realmuto hit a two-run homer off reliever Will Smith in the ninth inning to make things interesting.
Kenley Jansen came on and got two outs for his 23rd save.
Alec Bohm had two hits for the Phillies, who have lost four of five games at home since the All-Star break.
"Strider had good stuff and threw strikes," Phillies interim manager Rob Thomson said. "He kept us off-balance with the slider. He's got a good arm."
Riley got the Braves scoring started in the first inning off starter Aaron Nola (6-8), drilling a double to left center that scored Swanson. Harris led off the third with a solo homer to right, and Olson connected for a two-run homer in the fifth.
Four of the seven Braves hits off Nola went for extra bases. In his two starts against Atlanta this season leading into Tuesday night, the right-hander allowed just three extra-base hits combined in two wins.
Nola - one of Philadelphia's two aces along with Zack Wheeler - was making his first start in nine days due to the All-Star break. Thomson said the Phillies wanted to give him some extra rest. Instead, there was early rust that allowed Atlanta to take advantage of some early mistakes.
"I was just out of whack," Nola said. "A lot of my fastballs were running over the middle of the plate. Just not great pitches."
Strider worked the corners well, inducing eight fly-ball outs that often were weakly hit by a Philadelphia lineup that has struggled to get any consistency. It was sharper than his four-inning, five-earned run performance in his last start July 17 at Washington.
"My game isn't about contact, but getting ahead and forcing them to catch up," Strider said. "We got a lot of fly-ball outs and that's a result of the fastball and getting ahead."
Schwarber's home run - a line drive that streaked over the wall in deep left-center feld - was the only sign of vulnerability by Strider, who struck out six and walked one.
Bohm extended his hitting streak to 11 games. In that stretch, he is 18 for 37 (.486) with two homers and seven RBIs. Aside from Bohm, Philadelphia's collective batting average since July 8 is .200 (86 for 431).
Phillies: INF Jean Segura (broken finger) began his rehab assignment Tuesday night, going 0 for 3 with a strikeout in the designated hitter role for Triple-A Lehigh Valley. Segura - who was originally projected out until September after breaking his finger on a bunt attempt on May 31 - could be ready to return in Atlanta next week when his 60-day IL clock runs out.
The Braves send RHP Charlie Morton (5-4, 4.20 ERA) to the mound against Phillies RHP Kyle Gibson (5-4, 4.69) in the rubber match Wednesday. Atlanta has lost seven of eight series finales dating to June 26.