The 1960s US TV comedy show which had a character repeatedly say, "Nip it in the bud" was "The Andy Griffith Show". This phrase was often used by Barney Fife (Don Knotts) to suggest that if he or someone else could handle a situation or problem when it was just a minor concern, then he or another person could avert or stop a major crisis.

On "The Andy Griffith Show", Fife served as the deputy sheriff in the sleepy down of Mayberry. He tried to always be constantly on his toes. Fife was depicted as the gnarled face of law and order. He was always in favor of stopping a problem before it started, hence, his catchphrase was "Nip it in the bud". The meaning is clear on its face. So, Barney tried to stop the criminal element in Mayberry before they had a chance to do any real damage. He was tough on crime! However, Fife would sometimes blow minor problems out of proportion until they became really big problems, which Andy would have to solve.

"The Andy Griffith Show" was a TV situation comedy that aired on CBS from October 1960 to April 1968. It produced a total of 249 half-hour episodes which ran for eight seasons (159 in black and white and 90 in color). The show was created by Sheldon Leonard; the executive producers were Leonard and Danny Thomas. Stars in the show included Griffith as Andy Taylor (sheriff), Knotts as Barney Fife (deputy sheriff), Frances Bavier as Bee Taylor, Andy's aunt and Ron Howard as Opie, Andy's precocious young son.

More Info: en.wikipedia.org