save_stash


Description:

public OId? save_stash (Signature stasher, string message, StashFlags flags) throws Error

Saves the local modifications to a new stash.

It returns the commit containing the stashed state. This commit is also the target of the direct reference refs/stash.

Parameters:

this

a Repository.

stasher

a Signature.

message

description along with the stashed state or null to be autogenerated.

flags

a StashFlags to control the stashing process.

Returns:

a new object id of the commit containing the stashed state.