the pattern to add to the .gitignore file
Optional
heading: stringoptional heading to place the pattern
under
place an ignore entry at the bottom of the file
import { project } from 'ember-apply';
await project.gitIgnore('node_modules');
place an ignore under a heading in the .gitignore file
import { project } from 'ember-apply';
await project.gitIgnore('dist', '# build output');
Generated using TypeDoc
Adds an entry to the project's .gitignore file. Will create a .gitignore file if it doesn't exist. Will insert the
pattern
under theheading
and create theheading
if it doesn't exist.