Skip to main content

VcsConfig

Configures the version control system (VCS).

Index

Properties

optionaldefaultBranch

defaultBranch?: string = ```ts 'master' ```

The default branch / base.

hookFormat

The format to use for generated VCS hook files.

hooks

hooks: Record<string, string[]>

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

manager

manager: git = ```ts 'git' ```

The VCS client being utilized by the repository.

provider

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

optionalremoteCandidates

remoteCandidates?: string[]

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

syncHooks

syncHooks: boolean

Generates hooks and scripts based on the hooks setting.