Type alias AddRemoteParams

AddRemoteParams: {
    dir: string;
    fs: FsClient;
    remote: string;
    url: string;
    force?: boolean;
    gitdir?: string;
}

Type declaration

  • dir: string

    The working tree directory path.

  • fs: FsClient

    A file system implementation.

  • remote: string

    The name of the remote.

  • url: string

    The URL of the remote.

  • Optional force?: boolean

    Instead of throwing an error if a remote named remote already exists, overwrite the existing remote.

  • Optional gitdir?: string

    The git directory path (default: {dir}/.git).

Generated using TypeDoc