add hook pre commit