mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-12 22:02:37 +00:00
Update init.md
This commit is contained in:
parent
dec0e24275
commit
7a435be018
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue