Here are the lyrics to the theme song, written by Irving Taylor and William Lava. An annoyingly obvious remake version appears on the first "Television's Greatest Hits" album. The best moment in the opening titles is during the "both turn chicken" line, when the film is reversed to make it look everyone's riding their horses backward.

The end of the Civil War was near
When quite accidentally
A hero who sneezed abruptly seized
Defeat and reversed it to victory

His medal of honor pleased and thrilled
His proud little family group
While pinning it on, some blood was spilled
And so it was planned he'd command F Troop

Where Indian fights are colorful sights
And nobody takes a lickin'
When paleface and redskin
Both turn chicken

When drilling and fighting get them down
They know their morale can't droop
As long as they all relax in town
Before they resume with a bang and a boom
F Troop