In jazz slang, it means to appreciate something (to understand it or like it). In normal speech, it means to gradually remove material (such as dirt) from an area, with some implement (such as a shovel) to produce a hole, or a trench.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.