示例#1
0
def init_repository(path, bare=False):
    """
    Creates a new Git repository in the given *path*.

    If *bare* is True the repository will be bare, i.e. it will not have a
    working copy.
    """
    _pygit2.init_repository(path, bare)
    return Repository(path)
示例#2
0
def init_repository(path, bare=False):
    """
    Creates a new Git repository in the given *path*.

    If *bare* is True the repository will be bare, i.e. it will not have a
    working copy.
    """
    _pygit2.init_repository(path, bare)
    return Repository(path)
示例#3
0
def init_repository(path, bare=False):
    """
    Creates a new Git repository in the given path.

    Arguments:

    path
      Path where to create the repository.

    bare
      Whether the repository will be bare or not.
    """
    _pygit2.init_repository(path, bare)
    return Repository(path)
示例#4
0
def init_repository(path, bare=False):
    """
    Creates a new Git repository in the given path.
    """
    _pygit2.init_repository(path, bare)
    return Repository(path)