SAN FRANCISCO — The Giants are getting the band back together, and that tactic isn’t limited to those who marched in the 2012 championship parade.

Andres Torres, a key contributor for the 2010 championship club, signed a one-year, $2 million deal on Thursday after passing a physical. The popular outfielder likely will split time with Gregor Blanco in left field, and also can back up Angel Pagan and Hunter Pence, locked into the other two spots.

A longtime journeyman, Torres, 34, broke through in 2010, hitting 16 homers, stealing 26 bases and posting an OPS of .823. After a down year in 2011, Torres was traded to the Mets last offseason along with Ramon Ramirez in a deal that brought Pagan to San Francisco.

The Giants kept Pagan in the fold at the winter meetings, and also have re-signed second baseman Marco Scutaro and left-hander Jeremy Affeldt.

“It’s a comfort thing,” Affeldt said this week when asked about the offseason strategy. “Comfort brings confidence. It’s about confidence, not necessarily having a big-name lineup.”

Torres likely will be in the lineup against left-handers. The Giants had been looking for a right-handed hitting platoon partner for Blanco, and Torres, a switch-hitter, had a .286 average against left-handers last season with a .382 on-base percentage. Overall, Torres batted .230 in 132 games for the Mets.

Torres attended multiple Giants postseason games in October and was a favorite with fans and teammates in his first go-round with the Giants.

The Giants reached a minor league deal with right-hander Chad Gaudin, who pitched for the A’s from 2006 through part of the 2008 season and again for a short stint in 2010. If Gaudin, 29, is placed on the 40-man roster, he would earn $750,000 while in the majors and $150,000 while in the minors.