commit and hook trigger