Stash

Contains helper functions which allow to deal with git stash.

Functions and values

Function or valueDescription
pop(repositoryDir)
Signature: repositoryDir:string -> unit

Remove a single stashed state from the stash list and apply it on top of the current working tree state, i.e., do the inverse operation of git stash save. The working directory must match the index.

push repositoryDir message
Signature: repositoryDir:string -> message:string -> unit

Stash the changes in a dirty working directory away.