The Twins signed Gallegos to a minor-league contract Tuesday, Robert Murray of FanSided.com reports.
Gallegos cleared waivers and elected free agency Friday, Derrick Goold of the St. Louis Post-Dispatch reports.
The Cardinals did not have any takers for Gallegos on the trade market and he will now be placed on waivers Wednesday, Lynn Worthy of the St. Louis Post-Dispatch reports.
The Cardinals designated Gallegos for assignment Sunday.
The Cardinals activated Gallegos (shoulder) from the 15-day injured list Friday.
Gallegos (shoulder) could be activated from the 15-day injured list as soon as Thursday, Lynn Worthy of the St. Louis Post-Dispatch reports.
Gallegos (shoulder) could be activated from the 15-day injured list as soon as Monday, Katie Woo of The Athletic reports.
Cardinals manager Oliver Marmol said that Gallegos (shoulder) is scheduled to make a one-inning rehab appearance with Double-A Springfield on Friday, John Denton of MLB.com reports.
Gallegos (shoulder) will throw at least one inning of relief Tuesday at Double-A Springfield, Daniel Guerrero of the St. Louis Post-Dispatch reports.
Gallegos (shoulder) is scheduled to throw in a rehab outing with Triple-A Memphis on Thursday night and will have another on Sunday, Daniel Guerrero of the St. Louis Post-Dispatch reports.