Interface: CommitParams
Properties
branch
• Optional
branch: string
Default
“main”
Defined in
hub/src/lib/commit.ts:51
credentials
• credentials: Credentials
Defined in
hub/src/lib/commit.ts:49
description
• Optional
description: string
Defined in
hub/src/lib/commit.ts:46
hubUrl
• Optional
hubUrl: string
Defined in
hub/src/lib/commit.ts:60
isPullRequest
• Optional
isPullRequest: boolean
Defined in
hub/src/lib/commit.ts:59
operations
• operations: CommitOperation
[]
Defined in
hub/src/lib/commit.ts:48
parentCommit
• Optional
parentCommit: string
Parent commit. Optional
- When opening a PR: will use parentCommit as the parent commit
- When committing on a branch: Will make sure that there were no intermediate commits
Defined in
hub/src/lib/commit.ts:58
repo
• repo: RepoId
Defined in
hub/src/lib/commit.ts:47
title
• title: string
Defined in
hub/src/lib/commit.ts:45