Skip to main content

PartialVcsConfig

Configures the version control system (VCS).

Index

Properties

optionaldefaultBranch

defaultBranch?: null | string = null | string

The default branch / base.

optionalhookFormat

hookFormat?: null | VcsHookFormat = null | VcsHookFormat

The format to use for generated VCS hook files.

optionalhooks

hooks?: null | Record<string, string[]>

A mapping of hooks to commands to run when the hook is triggered.

optionalmanager

manager?: null | git = null | git

The VCS client being utilized by the repository.

optionalprovider

provider?: null | VcsProvider = null | VcsProvider

The upstream version control provider, where the repository source code is stored.

optionalremoteCandidates

remoteCandidates?: null | string[]

List of remote's in which to compare branches against.

optionalsyncHooks

syncHooks?: null | boolean

Generates hooks and scripts based on the hooks setting.