My friend e-mailed me a couple days ago a dozen of cowboys’ proverbs included in the book titled, “Don’t squat with your spurs on” by Texas Bix Bender. 

Though I presume this proverb (Don’t squat with your spurs on) admonishes not to do everything impetuously, I can’t figure out what’s wrong with squatting spurs on, as I’m utterly ignorant of cowboys, horse, riding boots, spurs, et cetera. 

The question may look naive to you, most Americans, but I don’t honestly understand the "figurative" meaning of the phrase. 

Does it mean projections of spurs can hurt you when you squat inadvertently with spurs on?

I was unable to find out a concrete answer in Google Search, though I find the phrase in a row as a heading.