diff --git a/sections/advanced.md b/sections/advanced.md index 646f2ac1..578a2ef2 100644 --- a/sections/advanced.md +++ b/sections/advanced.md @@ -181,7 +181,7 @@ environment variables: - `PRE_COMMIT_REMOTE_URL`: the url of the remote that is being pushed to (for example `git@github.com:pre-commit/pre-commit`) - `PRE_COMMIT_REMOTE_BRANCH`: the name of the remote branch to which we are - pushing (for example `refs/heads/target-branch`) + pushing (for example `refs/heads/target-branch`) - `PRE_COMMIT_LOCAL_BRANCH`: the name of the local branch that is being pushed to the remote (for example `HEAD`) diff --git a/sections/cli.md b/sections/cli.md index 56b74d76..848faec4 100644 --- a/sections/cli.md +++ b/sections/cli.md @@ -137,10 +137,10 @@ Options: Some example useful invocations: - `pre-commit install`: Default invocation. Installs the hook scripts - alongside any existing git hooks. + alongside any existing git hooks. - `pre-commit install --install-hooks --overwrite`: Idempotently replaces - existing git hook scripts with pre-commit, and also installs hook - environments. + existing git hook scripts with pre-commit, and also installs hook + environments. `pre-commit install` will install hooks from [`default_install_hook_types`](#top_level-default_install_hook_types) if