GitHoox.Hooks.Shell (GitHoox v0.1.0)

Copy Markdown View Source

Escape hatch for arbitrary shell commands.

Options

  • :run — command string. Required. Supports template variables:
    • {staged_files} — space-separated staged paths
    • {all_files} — all tracked paths
    • {files} — space-separated paths passed to the hook
  • :shell — shell executable. Default "sh".

Defaults

  • stage_fixed: false