Skip to content

Commit

Permalink
#16: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelzhang committed Dec 13, 2024
1 parent 8cd03b9 commit 705582f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 705582f

Please sign in to comment.