Merge pull request #35 from kunalkushwaha/update-readme

Updated usage of GIT_CHECK_EXCLUDE
This commit is contained in:
Vincent Batts 2018-03-06 20:46:36 -05:00 committed by GitHub
commit 656ba47bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -89,10 +89,10 @@ vbatts@valse ~/src/vb/git-validation (master) $ echo $?
Excluding paths that are out of the scope of your project:
```console
vbatts@valse ~/src/vb/git-validation (master) $ GIT_CHECK_EXCLUDE="./vendor" git-validation -q -run dangling-whitespace
vbatts@valse ~/src/vb/git-validation (master) $ GIT_CHECK_EXCLUDE="./vendor:./git/testdata" git-validation -q -run dangling-whitespace
...
```
using the `GIT_CHECK_EXCLUDE` environment variable
using the `GIT_CHECK_EXCLUDE` environment variable. Multiple paths should be separated by colon(`:`)
## Rules