From 839f114f2b2ca9429300e545aa5c93a2caf2e3d8 Mon Sep 17 00:00:00 2001 From: Edward Wang <40527812+edwardwang888@users.noreply.github.com> Date: Sat, 8 Apr 2023 15:56:58 -0700 Subject: [PATCH] Fix typo (#1142) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d74caf6e..d2a60082 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ You can scan files and directories by using the `--no-git` option. #### Protect -The `protect` command is used to uncommitted changes in a git repo. This command should be used on developer machines in accordance with +The `protect` command is used to scan uncommitted changes in a git repo. This command should be used on developer machines in accordance with [shifting left on security](https://cloud.google.com/architecture/devops/devops-tech-shifting-left-on-security). When running `protect` on a git repository, gitleaks will parse the output of a `git diff` command (you can see how this executed [here](https://github.com/zricethezav/gitleaks/blob/7240e16769b92d2a1b137c17d6bf9d55a8562899/git/git.go#L48-L49)). You can set the