Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
git
GitAmendSupport
Class GitAmendSupport
Hierarchy
GitAmendSupport
Implements
ScmAmendSupport
Index
Constructors
constructor
Properties
git
provider
repository
Methods
get
Initial
Amending
Commits
get
Last
Commit
get
Message
is
Head
Initial
Commit
reset
Constructors
constructor
new
Git
Amend
Support
(
provider
:
GitScmProvider
, repository
:
Repository
, git
:
Git
)
:
GitAmendSupport
Parameters
provider:
GitScmProvider
repository:
Repository
git:
Git
Returns
GitAmendSupport
Properties
Protected
Readonly
git
git
:
Git
Protected
Readonly
provider
provider
:
GitScmProvider
Protected
Readonly
repository
repository
:
Repository
Methods
get
Initial
Amending
Commits
get
Initial
Amending
Commits
(
amendingHeadCommitSha
:
string
, latestCommitSha
:
undefined
|
string
)
:
Promise
<
ScmCommit
[]
>
Parameters
amendingHeadCommitSha:
string
latestCommitSha:
undefined
|
string
Returns
Promise
<
ScmCommit
[]
>
get
Last
Commit
get
Last
Commit
(
)
:
Promise
<
undefined
|
ScmCommit
>
Returns
Promise
<
undefined
|
ScmCommit
>
get
Message
get
Message
(
commit
:
string
)
:
Promise
<
string
>
Parameters
commit:
string
Returns
Promise
<
string
>
Protected
is
Head
Initial
Commit
is
Head
Initial
Commit
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
reset
reset
(
commit
:
string
)
:
Promise
<
void
>
Parameters
commit:
string
Returns
Promise
<
void
>
Modules
bulk-
edit
callhierarchy
console
core
debug
editor
editor-
preview
electron
external-
terminal
file-
search
filesystem
getting-
started
git
Blame
Annotations
Keybinding
Context
Blame
Commands
Blame
Decorator
Dirty
Diff
Model
GIT_
COMMANDS
GIT_
MENUS
Git
Git
Binding
Options
Git
Blame
Parser
Git
Commit
Detail
Uri
Git
Commit
Message
Validator
Git
Diff
Commands
Git
Diff
Tree
Model
Git
File
Status
Git
Prompt
Git
Scm
Provider
Git
Scm
Repository
Git
Status
Change
Event
Git
Sync
Service
Git
Utils
Repository
Scm
Navigator
More
Toolbar
Groups
Working
Directory
Status
keymaps
markers
memory-
inspector
messages
metrics
mini-
browser
monaco
navigator
outline-
view
output
plugin
plugin-
dev
plugin-
ext
plugin-
ext-
vscode
plugin-
metrics
preferences
preview
process
property-
view
scm
scm-
extra
search-
in-
workspace
secondary-
window
task
terminal
timeline
toolbar
typehierarchy
userstorage
variable-
resolver
vsx-
registry
workspace
Git
Amend
Support
constructor
git
provider
repository
get
Initial
Amending
Commits
get
Last
Commit
get
Message
is
Head
Initial
Commit
reset