Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

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.