diff --git a/docs/FAQ.md b/docs/FAQ.md index b4203eb71c..3b76442c28 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -104,7 +104,9 @@ files you want to keep around to match the pattern. 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). +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. To achieve this add `/` to `.git/info/exclude`. You can find more details on `gitignore` files [here][gitignore].