What does ‘cowboy up’ mean?

( v ) To get strong, tough. Bo Dega cowboyed up at the bar last night and left with a black eye.