The technical term is Sumptuary Laws, which regulated clothing among others things, and they have been used in all sorts of places in all sorts of times. The link provided should have all the info and research starting points you need.
I have always been interested in the banning of the fez in Turkey during the Ataturk reforms. There were riots and attempted revolutions. People died because of a hat. Admittedly there was a lot more going on there. The Fez was a symbol of traditional religious values in a time when the government was trying to become secular and western.
Always speaking about the European Jewry, those living in Rome from the 17th to the early 19th centuries were forced to wear a yellow ribbon on their hats whenever they ventured outside the Ghetto. This caused some problems, especially during the Carnevale - it was not unheard for a Jew to be taken, put into a barrel and then made to roll down the Capitoline Hill for the amusement of the crowd. Such barbaric customs are documented in David Silvagni's La Corte e società romana dei secoli XVIII-XIX or Father Bresciani's Edmondo, o dei costumi del popolo romano.
While those shameful practices had already begun to disappear sometime in the mid-19th century, only the emancipation of the Jews - as well as the distruction of much of the Roman Ghetto - following the Capture of Rome in 1870 put an end to them for good.
During the Stalinist years in the USSR, western fashion trends were banned and fashionable clothes were illegal
I don't know if it counts as 'clothes' or dress code, but ussing a cockade or a ribbon on the Americas independences revolutions movements was adopted as a sign to know who supports the revolution.
Particularly, on May Revolution, cockades were given to those who simpatized with the revolutionaries ideas and, if things didn't result as they wanted in the Open Cabildo and the uprising started, it would help to know who the 'enemy' was (by not wearing it, of course).
It's something that were adopted from the French Revolution, I guess.
After the Revolution, in 1811, it was officially adopted as a national emblem and it remains nowadays. It's used on May Week and in schools is a mandatory to wear (you know, to promote patriotism).
This submission has been removed because it violates the rule on poll-type questions. These poll-type questions do not lend themselves to answers with a firm foundation in sources and research, and the resulting threads usually turn into monsters with enormous speculation and little focussed discussion. “Most”, “least”, "best" and "worst" questions usually lead to vague, subjective, and speculative answers.
For questions of these types, we ask that you redirect them to more appropriate subreddits, such as /r/history or /r/askhistory.