Module Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign NameStore Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Call NameLoad Str orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A commit Head N/A object N/A N/A 
    A Head is a named reference to a Commit. Every Head instance contains a name
    and a Commit object.

    Examples::

        >>> repo = Repo("/path/to/repo")
        >>> head = repo.heads[0]

        >>> head.name       
        'master'

        >>> head.commit     
        <git.Commit "1c09f116cbc2cb4100fb6935bb162daa4723f455">

        >>> head.commit.id
        '1c09f116cbc2cb4100fb6935bb162daa4723f455'
     __init__ N/A N/A self name commit N/A N/A N/A 
        Initialize a newly instanced Head

        `name`
            is the name of the head

        `commit`
            is the Commit object that the head points to
         N/A N/A self name name N/A N/A self commit commit N/A find_all N/A N/A cls repo N/A kwargs N/A N/A 
        Find all Heads in the repository

        `repo`
            is the Repo

        `kwargs`
            Additional options given as keyword arguments, will be passed
            to git-for-each-ref

        Returns
            git.Head[]
            
            List is sorted by committerdate
         N/A options N/A sort format committerdate %(refname)%00%(objectname) N/A N/A N/A options update kwargs N/A output N/A N/A N/A repo git for_each_ref refs/heads options N/A N/A N/A cls list_from_string repo output N/A classmethod list_from_string N/A N/A cls repo text N/A N/A N/A 
        Parse out head information into a list of head objects

        ``repo``
            is the Repo
        ``text``
            is the text output from the git-for-each-ref command

        Returns
            git.Head[]
         N/A heads N/A N/A line N/A N/A text splitlines N/A N/A N/A N/A heads append N/A N/A cls from_string repo line N/A heads N/A classmethod from_string N/A N/A cls repo line N/A N/A N/A 
        Create a new Head instance from the given string.

        ``repo``
            is the Repo

        ``line``
            is the formatted head information

        Format::
        
            name: [a-zA-Z_/]+
            <null byte>
            id: [0-9A-Fa-f]{40}

        Returns
            git.Head
         N/A N/A full_name ids N/A N/A line split N/A N/A N/A full_name startswith refs/heads/ N/A N/A name N/A full_name N/A N/A len refs/heads/ N/A N/A name full_name N/A c N/A N/A commit Commit repo id ids N/A N/A Head name c N/A classmethod __repr__ N/A N/A self N/A N/A N/A N/A <git.Head "%s"> N/A self name N/A N/A