Update init.md

This commit is contained in:
expikr 2023-04-18 01:53:38 +08:00 committed by GitHub
parent dec0e24275
commit 7a435be018
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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