Skip to content

Commit fbb7538

Browse files
authored
docs: make guide for .gitignore work on Windows (#129)
1 parent 6f26458 commit fbb7538

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/guide/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ npm install -D vuepress@next
7272
- **Step 5**: Add the default temp and cache directory to `.gitignore` file
7373

7474
```bash
75-
echo 'node_modules\n.temp\n.cache' >> .gitignore
75+
echo 'node_modules' >> .gitignore
76+
echo '.temp' >> .gitignore
77+
echo '.cache' >> .gitignore
7678
```
7779

7880
- **Step 6**: Create your first document

docs/zh/guide/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ npm install -D vuepress@next
7373
- **步骤5**: 将默认的临时目录和缓存目录添加到 `.gitignore` 文件中
7474

7575
```bash
76-
echo 'node_modules\n.temp\n.cache' >> .gitignore
76+
echo 'node_modules' >> .gitignore
77+
echo '.temp' >> .gitignore
78+
echo '.cache' >> .gitignore
7779
```
7880

7981
- **步骤6**: 创建你的第一篇文档

0 commit comments

Comments
 (0)