exec git init
exec git config user.email "you@example.com"
exec git config user.name "Your Name"
exec git add -A
exec lefthook install
exec git commit -m 'test'
stderr '\s*Hi there from Lefthook\s*'

-- lefthook.yml --
skip_output:
  - meta
  - summary
  - execution_info
pre-commit:
  commands:
    echo:
      run: echo Hi there from Lefthook
