class documentation

class Stash(object):

View In Hierarchy

A Git stash.

Note that this doesn't currently update the working tree.

Class Method from_repo Create a new stash from a Repo object.
Method __getitem__ Undocumented
Method __init__ Undocumented
Method __len__ Undocumented
Method drop Drop entry with specified index.
Method pop Undocumented
Method push Create a new stash.
Method stashes Undocumented
Instance Variable _ref Undocumented
Instance Variable _repo Undocumented
Property _reflog_path Undocumented
@classmethod
def from_repo(cls, repo):

Create a new stash from a Repo object.

def __getitem__(self, index):

Undocumented

def __init__(self, repo, ref=DEFAULT_STASH_REF):

Undocumented

def __len__(self):

Undocumented

def drop(self, index):

Drop entry with specified index.

def pop(self, index):

Undocumented

def push(self, committer=None, author=None, message=None):

Create a new stash.

Parameters
committerOptional committer name to use
authorOptional author name to use
messageOptional commit message
def stashes(self):

Undocumented

_ref =

Undocumented

_repo =

Undocumented

@property
_reflog_path =

Undocumented