diff --git a/news/changelog-1.8.md b/news/changelog-1.8.md index 6b8920d826..8143040b6f 100644 --- a/news/changelog-1.8.md +++ b/news/changelog-1.8.md @@ -107,3 +107,4 @@ All changes included in 1.8: - ([#12782](https://github.com/quarto-dev/quarto-cli/pull/12782)): fix bug on `safeRemoveDirSync`'s detection of safe directory boundaries. - ([#12853](https://github.com/quarto-dev/quarto-cli/issues/12853)): fix replaceAll() escaping issue with embedded notebooks containing `$` in their Markdown. - ([#12939](https://github.com/quarto-dev/quarto-cli/pull/12939)): Upgrade `mermaidjs` to 11.6.0. +- ([#13031](https://github.com/quarto-dev/quarto-cli/pull/13031)): Add `.quarto_ipynb` files to `.gitignore` by default. \ No newline at end of file diff --git a/src/project/project-gitignore.ts b/src/project/project-gitignore.ts index ef781ab7fb..779a09b085 100644 --- a/src/project/project-gitignore.ts +++ b/src/project/project-gitignore.ts @@ -15,7 +15,7 @@ import { lines } from "../core/text.ts"; import { isEnvDir } from "../core/jupyter/capabilities.ts"; import { isWindows } from "../deno_ral/platform.ts"; -export const kQuartoIgnore = [`/${kQuartoScratch}/`]; +export const kQuartoIgnore = [`/${kQuartoScratch}/`, `**/*.quarto_ipynb`]; export async function ensureGitignore( dir: string,