Skip to content

Commit

Permalink
Merge pull request #2071 from expikr/patch-3
Browse files Browse the repository at this point in the history
Added missing documentation for `mdbook init --ignore=<git|none>`
  • Loading branch information
ehuss committed Apr 22, 2023
2 parents dec0e24 + 7a435be commit 9db3a60
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions guide/src/cli/init.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9db3a60

Please sign in to comment.