Interface: CommitParams
Properties
branch
• Optional
branch: string
Default
“main”
Defined in
hub/src/lib/commit.ts:62
credentials
• credentials: Credentials
Defined in
hub/src/lib/commit.ts:60
description
• Optional
description: string
Defined in
hub/src/lib/commit.ts:57
hubUrl
• Optional
hubUrl: string
Defined in
hub/src/lib/commit.ts:71
isPullRequest
• Optional
isPullRequest: boolean
Defined in
hub/src/lib/commit.ts:70
operations
• operations: CommitOperation
[]
Defined in
hub/src/lib/commit.ts:59
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:69
repo
• repo: RepoDesignation
Defined in
hub/src/lib/commit.ts:58
title
• title: string
Defined in
hub/src/lib/commit.ts:56