In his fourth start for Atlanta, Gausman (8-9) gave up four hits with five strikeouts and two walks, helping the NL East-leading Braves take the first two legs of the three-game series. He has allowed six runs in 27 innings since being acquired from the Baltimore Orioles on July 31.
"This is a fun team to play for, especially right now," Gausman said. "We're playing well and it's a fun place to come to work every day. A little different than where I've been this season. It was frustrating being over there, being a part of the season (the Orioles are) having over there was tough."
Swanson's first homer gave the Braves a 2-0 lead in the fifth before he sent another two-run shot into nearly the same spot in the left field bleachers, extending the lead to 5-0 in the seventh. Kurt Suzuki doubled down the left-field line, scoring Ozzie Albies from first for the third run. Tyler Flowers scored on a wild pitch in the ninth to make it 6-0.
"You're not really looking at the results," Swanson said. "You're really looking at the progress and the process. ... It's definitely a good thing moving forward, but tomorrow's a new day."
Ivan Nova (7-8) allowed Swanson's first home run after retiring his initial 10 batters, including the first nine on 29 pitches. Ender Inciarte singled to center for Atlanta's first hit with one out in the fourth.
Nova got through six innings on 78 pitches (51 strikes), but was removed when Josh Harrison pinch-hit with one out and the Pirates trailing 2-0 in the sixth. He allowed two runs and four hits with four strikeouts.
The Pirates had allowed one run in each of their previous five games, but were 2/3 during that stretch.
"I knew (getting pulled) was going to happen," Nova said. "We need to score. It's been tough the last week. A lot of good pitching."
Harrison singled and the Pirates eventually loaded the bases with two outs, but Gausman got out of the jam when Josh Bell grounded out to short.
"(Gausman) is pitching exactly how we had hoped when we got him," Braves manager Brian Snitker said. "He was really, really good tonight. That was huge."
"Can we adjust the lineup, look at some different things? We've talked about it," Pirates manager Clint Hurdle said. "It's been hard. These guys are battling. Guys are doing some different things to try to change up some things. ... We're not getting the results we want."
Braves: OF Michael Reed was recalled from Triple-A Gwinnett. RHP Bryse Wilson was optioned to Gwinnett following his major league debut Monday.
Pirates: RHP Clay Holmes was recalled from Triple-A Indianapolis. OF Jordan Luplow was optioned to Indianapolis.
Braves: Suzuki was pulled after being hit by a pitch in the ninth inning. Flowers ran for Suzuki shortly after he made his way to first base. Snitker did not provide an update following the game.
Pirates: OF Starling Marte did not start after visiting a doctor for undisclosed reasons earlier Tuesday. He entered the game as a defensive replacement in center field for the eighth inning. Marte was benched Monday, but pinch hit in the ninth inning after Hurdle deemed he lacked effort while running the bases in a 2-1 victory over the Chicago Cubs on Sunday.
Braves: RHP Julio Teheran (8-7, 4.24) would like to build off his past two starts when he takes the mound for the series finale against the Pirates on Wednesday. After failing to go at least six innings in three starts from July 24-Aug. 5, he has gone a combined 13 in his last two starts while allowing three runs and five hits.
Pirates: RHP Trevor Williams (10-9, 3.53) will aim to keep his hot stretch going when he faces the Braves on Wednesday. He has allowed two runs or fewer in each of his past six starts and hasn't surrendered a run in four of those starts, dating to July 11.
More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP-Sports
Cubs open to trading 3B Kris Bryant
As part of their early offseason discussions, the Cubs have indicated to other teams they are willing to discuss trade proposals for almost all of the players on their roster, including 3B Kris Bryant, according to sources.
A Corey Kluber blockbuster? These teams might be in the mix
The Indians are open to trade offers -- even for their ace. Adding Kluber to one of these clubs could help shift the balance of power in 2019 and beyond.
NL West offseason preview: Will Paul Goldschmidt, Nolan Arenado be dealt?
Will franchise faces Paul Goldschmidt and Nolan Arenado be traded? How will the Dodgers get back to the World Series? We size up the NL West.
GM meetings point to a winter of spending
Unlike last year, the tone at this week's GM meetings indicated teams will be willing to spend, spend, spend on free agents this offseason.
Harper vs. Machado: Whose big payday promises bigger returns?
Both free agents will get top dollar, but one of them has an advantage that will ensure his deal delivers.
Marlins catcher J.T. Realmuto not distracted by trade rumors
Miami Marlins catcher J.T. Realmuto isn't letting trade rumors become a distraction either at home or in Japan, where he is currently part of an MLB All-Star tour.