“Can only attack alone” means the enchanted creature can’t be declared as an attacker during the declare attackers step unless no other creatures are declared as attackers at that time (either by you or your Two-Headed Giant teammate).

Artwork
Loading artwork…
Errantry
Fifth Edition · #224 · EN
Nonfoil—Foil—
Card rules
Enchant creature
Enchanted creature gets +3/+0 and can only attack alone.
"There is no shame in solitude. The lone knight may succeed where a hundred founder." —Arna Kennerüd, skyknight
Common · Illustrated by Scott Kirschner
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
PreDH Legal
Premodern Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the enchanted creature attacks alone, then a spell or ability causes another creature to be put onto the battlefield attacking, that’s fine.