コンテンツにスキップ

StashOperations

このコンテンツはまだ日本語訳がありません。

Defined in: src/core/repo.ts:2542

Stash operations

Wraps: git stash subcommands

Methods

apply()

apply(opts?): Promise<void>

Defined in: src/core/repo.ts:2569

Apply stash entry (without removing from stash)

Wraps: git stash apply

Parameters

opts?

StashApplyOpts & ExecOpts

Returns

Promise<void>


clear()

clear(opts?): Promise<void>

Defined in: src/core/repo.ts:2583

Clear all stash entries

Wraps: git stash clear

Parameters

opts?

ExecOpts

Returns

Promise<void>


drop()

drop(index?, opts?): Promise<void>

Defined in: src/core/repo.ts:2576

Drop a stash entry

Wraps: git stash drop

Parameters

index?

number

opts?

ExecOpts

Returns

Promise<void>


list()

list(opts?): Promise<StashEntry[]>

Defined in: src/core/repo.ts:2548

List stash entries

Wraps: git stash list

Parameters

opts?

ExecOpts

Returns

Promise<StashEntry[]>


pop()

pop(opts?): Promise<void>

Defined in: src/core/repo.ts:2562

Pop stash entry

Wraps: git stash pop

Parameters

opts?

StashApplyOpts & ExecOpts

Returns

Promise<void>


push()

push(opts?): Promise<void>

Defined in: src/core/repo.ts:2555

Push changes to stash

Wraps: git stash push

Parameters

opts?

StashPushOpts & ExecOpts

Returns

Promise<void>