Class GitQuickOpenService

Service delegating into the Quick Input Service, so that the Git commands can be further refined. For instance, the remote can be specified for pull, push, and fetch. And the branch can be specified for git merge.

Constructors

Properties

buildDefaultProjectPath: any = ...
fileService: FileService
git: Git
gitErrorHandler: GitErrorHandler
labelProvider: LabelProvider
messageService: MessageService
progressService: ProgressService
quickInputService: QuickInputService
repositoryProvider: GitRepositoryProvider
workspaceService: WorkspaceService

Methods

  • Parameters

    • execFunc: ((branchName, currentBranchName) => void)
        • (branchName, currentBranchName): void
        • Parameters

          • branchName: string
          • currentBranchName: string

          Returns void

    • repository: undefined | Repository = ...

    Returns Promise<void>

  • Parameters

    • action: "apply" | "pop" | "drop"
    • text: string
    • Optional getMessage: (() => Promise<string>)
        • (): Promise<string>
        • Returns Promise<string>

    Returns Promise<void>