GitWorkspaceSource
Parameters and properties
Section titled “Parameters and properties”kindRequired"git"Discriminant selecting Git, a directory source or an initially empty workspace.repositoryOptionalstring | undefinedGit repository location; file modes refuse this option before allocation.branchOptionalBranchPolicy | undefinedGit branch policy retained only for Git sources; file results contain no synthetic branch.copiesOptionalreadonly string[] | undefinedLegacy Git worktree copies; use declared file inputs or selection for file workspaces.guardOptionalDiffGuard | undefinedCommitted Git diff guard; unavailable for directory and ephemeral workspaces.

