• Preparing search index...
  • The search index is not available
@shopify/cli-kit
  • @shopify/cli-kit
  • node/git
  • createGitIgnore

Function createGitIgnore

  • createGitIgnore(directory: string, template: GitIgnoreTemplate): void
  • Create a .gitignore file in the given directory.

    Parameters

    • directory: string

      The directory where the .gitignore file will be created.

    • template: GitIgnoreTemplate

      The template to use to create the .gitignore file.

    Returns void

    • Defined in packages/cli-kit/src/public/node/git.ts:54

Settings

Member Visibility
@shopify/cli-kit
  • Loading...

Generated using TypeDoc