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-commit
pip install pre-commit
pre-commit install
pre-commit run --all-files
- Configuration:
.pre-commit-config.yaml
Related
git commit --no-verify
git commit
requirements.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.yml
git
: [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/
Advertising: