useGit API
    Preparing search index...

    useGit API

    useGit

    A robust, promise-based Git utility for Node.js

    Publish CI npm version JSR

    npm install use-git
    # or
    yarn add use-git
    # or
    pnpm add use-git

    Full API reference and usage guides are available at https://teneplaysofficial.github.io/use-git.

    All methods return the same git instance, allowing fluent chaining.

    await git.init().add(".").commit("chore: initial commit").push();