From 7a435be018a96e12dd290ac209136cfb22dfa166 Mon Sep 17 00:00:00 2001 From: expikr <77922942+expikr@users.noreply.github.com> Date: Tue, 18 Apr 2023 01:53:38 +0800 Subject: [PATCH] Update init.md --- guide/src/cli/init.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/guide/src/cli/init.md b/guide/src/cli/init.md index 99c0be09..9256d860 100644 --- a/guide/src/cli/init.md +++ b/guide/src/cli/init.md @@ -67,4 +67,12 @@ mdbook init --title="my amazing book" Create a `.gitignore` file configured to ignore the `book` directory created when [building] a book. If not supplied, an interactive prompt will ask whether it should be created. +```bash +mdbook init --ignore=none +``` + +```bash +mdbook init --ignore=git +``` + [building]: build.md