Install a post-commit hook that associates a session with the commit, writes a note under refs/notes/halfspan, and schedules an upload. Setup preserves an existing post-commit hook and runs it before the Halfspan hook.
Usage
1span setup git [--cwd DIR]
The selected directory must belong to a Git repository.
Options
Flag
Purpose
--cwd DIR
Directory in the Git repository; defaults to the current directory.
--help, -h
Print setup and removal help.
--agent, --global, and --reasoning-summaries are unavailable for this target.