init

async _AsyncGit.init(*args, repo: str = None)str[source]

Use like git init

Example:

>>> Git().init()

Initialise a different repo from the one passed in the constructor:

>>> Git().init(repo="/home/user/myproject")