const: add HEAD_IGNORE, used for tgw
add a example HEAD_IGNORE to z.sh

for tgw