craft-hub / GitIntegration
Class: GitIntegration
Defined in: packages/craft-hub/src/git-integration.ts:116
Plan and apply conservative local Git branch integrations for trusted projects.
Constructors
Constructor
new GitIntegration():
GitIntegration
Returns
GitIntegration
Methods
apply()
apply(
project,request):Promise<GitIntegrationResult>
Defined in: packages/craft-hub/src/git-integration.ts:227
Recheck a reviewed Plan and apply its local Git steps to a trusted project.
Parameters
project
request
Returns
Promise<GitIntegrationResult>
plan()
plan(
project,request?):Promise<GitIntegrationPlan>
Defined in: packages/craft-hub/src/git-integration.ts:118
Inspect current Git state without changing refs, the index, or working-tree files.
Parameters
project
request?
Returns
Promise<GitIntegrationPlan>