> For the complete documentation index, see [llms.txt](https://mhy.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mhy.js.org/tools/configs/gitignore.md).

# gitignore

<https://git-scm.com/docs/gitignore>

```bash
# Print config to console
mhy config gitignore

# Write .gitignore
mhy config gitignore -i
```

> Note that `mhy` is also adding generated config files like `webpack.config.js` for example.
