From 705582fae8c4fd7bbe452c123cc7dc115ed1d83c Mon Sep 17 00:00:00 2001 From: Kael Zhang Date: Fri, 13 Dec 2024 18:52:31 +0800 Subject: [PATCH] #16: update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f939c7..162b9d7 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,7 @@ $ safe-rm -rf /path/to To keep the performance of `safe-rm` and avoid conducting unnecessary file system traversing, this would not prevent `/path/to/be/protected/foo` from removing. Pay **ATTENTION** that: -- Enabling this config requires `git` to be installed in your environment +- Before adding protected rules, i.e. placing the `.gitignore` inside the `"~/.safe-rm/"` directory, it requires `git` to be installed in your environment - The protected rules file applies to the root directory (/), which This means that the patterns defined within it need to be relative to the root directory. - Avoid adding `/` in the protected rules file, or everything will be protected