Skip to content

Commit 7a435be

Browse files
authored
Update init.md
1 parent dec0e24 commit 7a435be

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

guide/src/cli/init.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,12 @@ mdbook init --title="my amazing book"
6767
Create a `.gitignore` file configured to ignore the `book` directory created when [building] a book.
6868
If not supplied, an interactive prompt will ask whether it should be created.
6969

70+
```bash
71+
mdbook init --ignore=none
72+
```
73+
74+
```bash
75+
mdbook init --ignore=git
76+
```
77+
7078
[building]: build.md

0 commit comments

Comments
 (0)