Skip to content

Commit

Permalink
Update README with OVERCOMMIT_COLOR env var
Browse files Browse the repository at this point in the history
  • Loading branch information
sds committed Aug 25, 2017
1 parent f3572d2 commit 406534c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,16 @@ hooks to run, you can disable Overcommit entirely by setting the
OVERCOMMIT_DISABLE=1 ./my-custom-script
```

### Disabling Colorized Output

Overcommit automatically colorizes its output based on whether it is outputting
to a TTY. However, you can manually enable/disable color by setting the
`OVERCOMMIT_COLOR` environment variable.

```bash
OVERCOMMIT_COLOR=0 git commit
```

## Continuous Integration

You can run the same set of hooks that would be executed in a pre-commit hook
Expand Down

0 comments on commit 406534c

Please sign in to comment.