@shopify/cli-kit
    Preparing search index...

    Function addAllToGitFromDirectory

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

      Parameters

      • Optionaldirectory: string

        The directory where the git repository is located.

      Returns Promise<void>

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