diff --git a/docs/FAQ.md b/docs/FAQ.md index 0dbc6c0fee..b12d4545a3 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -216,11 +216,11 @@ can create a `.gitignore` file in that directory containing only `*`. This will ignore everything in the directory including the `.gitignore` file itself. If `$EDITOR` integration is important, something like `scratchpad.*` may be more -helpful, as you can keep the filename extension intact (it -matches `scratchpad.md`, `scratchpad.rs` and more). Another option is to add a -directory to the global `.gitignore` which then stores all your temporary files -and notes. For example, you could add `scratch/` to `~/.git/ignore` and then -store arbitrary files in `/scratch/`. +helpful, as you can keep the filename extension intact (it matches +`scratchpad.md`, `scratchpad.rs` and more). Another option is to add a directory +which would store all your temporary files and notes to your configured global +gitignore file. For example, you could add `scratch/` to it and then store +arbitrary files in `/scratch/`. You can find more details on `gitignore` files [here][gitignore].