Stashes stores some uncommitted state in the repository; generally this allows a user to stash some changes so that they can restore the working directory to an unmodified state. This can allow a developer to work on two different changes in parallel.
Stash save options structure
Stash application options structure
Current version for the git_stash_save_options
structure
Static constructor for git_stash_save_options
Current version for the git_stash_apply_options
structure
Static constructor for git_stash_apply_options
Stash flags
Stash application flags
Stash apply progression states
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
Save the local modifications to a new stash
Initialize git_stash_save_options structure
Save the local modifications to a new stash, with options
Initialize git_stash_apply_options structure
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