Function addAllToGitFromDirectory

  • Add all files to the git index from the given directory.

    Parameters

    • Optional directory: string

      The directory where the git repository is located.

    Returns Promise<void>

    A promise that resolves when the files are added to the index.