Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sections/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)

Expand Down
6 changes: 3 additions & 3 deletions sections/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading