• 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