Function remove

  • Remove a file from the git index (aka staging area).

    Note that this does NOT delete the file in the working directory.

    Returns

    Resolves successfully once the git index has been updated.

    Example

    await remove({ fs, dir: '/tutorial', filepath: 'README.md' })
    

    Parameters

    Returns Promise<void>

Generated using TypeDoc