Function: executeGitKeepWorktreeHook()
ts
function executeGitKeepWorktreeHook(
_node,
_input,
_ctx
): Promise<void>;Defined in: git/src/executors/git-hooks-and-checks.ts:159
Executes a GitKeepWorktreeNode (git.keepWorktree()) rewind hook on input.handle.
Preserves the current working tree, HEAD, and baseRef in-place across .rewindTo() transitions.
Parameters
| Parameter | Type | Description |
|---|---|---|
_node | GitKeepWorktreeNode | Passive keep-worktree rewind hook AST node. |
_input | RewindHookExecutionInput<GitWorktreeHandle> | Rewind hook execution input. |
_ctx | StepExecutionContext<GitWorktreeHandle> | Active step execution context. |
Returns
Promise<void>
Resolves immediately without mutating the worktree.