Function: createGitKeepWorktreeBuilder()
ts
function createGitKeepWorktreeBuilder(id?): AstBuilder<GitKeepWorktreeNode>;Defined in: git/src/builders/create-git-keep-worktree-builder.ts:13
Creates a fluent AstBuilder<GitKeepWorktreeNode> (git.keepWorktree()).
Compiles into a passive GitKeepWorktreeNode (type: 'git:keep-worktree', resetsRunOverlay: false) that preserves the active worktree and uncommitted topology overlay across a .rewindTo() signal.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
id? | string | 'git-keep-worktree' | Optional custom identifier for the rewind hook node. |
Returns
AstBuilder<GitKeepWorktreeNode>
Immutable rewind hook builder instance.