Skip to main content

Home > git-documentdb > GitDocumentDB > loadAuthor

GitDocumentDB.loadAuthor() method#

Load author from .git/config

Signature:
loadAuthor(): Promise<void>;
Returns:

Promise<void>

Remarks#

Load user.name and user.email to GitDocumentDB#author. If not defined in .git/config, do nothing.