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?
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?
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?
Returns
Promise<void>
list()
list(
opts?):Promise<StashEntry[]>
Defined in: src/core/repo.ts:2548
List stash entries
Wraps: git stash list
Parameters
opts?
Returns
Promise<StashEntry[]>
pop()
pop(
opts?):Promise<void>
Defined in: src/core/repo.ts:2562
Pop stash entry
Wraps: git stash pop
Parameters
opts?
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?
Returns
Promise<void>