Difference between revisions of "Pre-commit"
Jump to navigation
Jump to search
| Line 5: | Line 5: | ||
* <code>[[brew install pre-commit]]</code> | * <code>[[brew install pre-commit]]</code> | ||
* <code>[[pip install]] pre-commit</code> | * <code>[[pip install]] pre-commit</code> | ||
| + | |||
| + | |||
| + | |||
* <code>[[pre-commit install]]</code> | * <code>[[pre-commit install]]</code> | ||
| + | * <code>[[pre-commit run]] --all-files</code> | ||
| − | * <code>[[pre-commit | + | * Configuration: <code>[[.pre-commit-config.yaml]]</code> |
== Related == | == Related == | ||
Revision as of 17:46, 17 June 2022
- Homepage: https://pre-commit.com/
Installation:
brew install pre-commitpip install pre-commit
pre-commit installpre-commit run --all-files
- Configuration:
.pre-commit-config.yaml
Related
git commit --no-verifygit commitrequirements.txt- Git hook scripts
- Pull request
- .pre-commit-config.yaml
See also
pre-commit [ install | run | --help ] .pre-commit-config.yaml,brew install pre-commit, pre-commit.ymlgit: [config | init | status ],git add,git rm,git commit,git push, git pull,.gitconfig,.gitignore,git(clone,fetch,pull),git tag,git log,git blame, Merge Request, LFS,git branch,git apply,git rebase,git diff,git diff-tree,git config --global,remote | submodule | request-pull,GIT_TRACE, GIT_CURL_VERBOSE,clean,main,git show-ref,git reset,git prune,git ls-remote origin,git checkout,git switch,pathspec,git credential-osxkeychain,git version,pre-commit,git --help, GitBook,refs/, Git Credential Manager
Advertising: