(and other similar terms), an exclamation of surprise used mostly in the United States, Canada, Australia, and England, is a minced oath or euphemism.
[1] Its earliest known appearance was in a tongue-in-cheek letter to the editor of the Minneapolis Journal: "A lover of the cow writes to this column to protest against a certain variety of Hindu oath having to do with the vain use of the name of the milk producer.
'"[2] The phrase appears to have been adopted as a means to avoid using obscene or indecent language and may have been based on a general awareness of the holiness of cows in some religious traditions, particularly Hinduism.
It is also the common oath and popular exclamation put into the mouths of teenagers by many screenwriters, and is universally heard on radio, television, and in the movies.
It was first popularized by the "Corliss Archer" series of short stories, television programs, and movies, which attempted to show the humorous, homey side of teenage life.Expressions such as "Holy buckets!
", etc., and adds, "The prefix 'holy' to any exclamation was particularly the province of Batman and Robin, characters created by Bob Kane and featured in best-selling comic books for over thirty years before they were portrayed by Adam West and Burt Ward in the TV film series.
The phrase may have originated with reporter and broadcaster Halsey Hall who worked in Minneapolis, Minnesota from 1919 until his death in 1977.