Green’s Dictionary of Slang

hang! excl.

also by hang! stretch!
[SE hang]

[mid-16C+] a general excl.; see also hang it (all)! under hang v.1 ; hang me! under hang v.1