You can counter melee attacks by gun bashing at the right time


Source: gfycat.com