libgit2

stash

Version:
Git stash management routines

Structs

Stash application options structure

Macros

Enums

Callbacks

Stash application progress notification function Return 0 to continue processing, or a negative value to abort the stash application.

This is a callback function you can provide to iterate over all the stashed states that will be invoked per entry

Functions

Save the local modifications to a new stash

Initializes a git_stash_apply_options with default values creating an instance with GIT_STASH_APPLY_OPTIONS_INIT.

Apply a single stashed state from the stash list

Loop over all the stashed states and issue a callback for each one

Remove a single stashed state from the stash list

Apply a single stashed state from the stash list and remove it from the list if successful