File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,15 @@ initialize a [source-git repo](/source-git).
2525
2626 Usage: packit init [OPTIONS] [PATH_OR_URL]
2727
28- Create the initial Packit configuration in a repository
28+ Create the initial Packit configuration in a repository and add a pre-commit
29+ hook to validate Packit configuration file
2930
3031 See 'packit source-git init', if you want to initialize a repository as a
3132 source-git repo.
3233
3334 Options:
34- --force-precommit Automatically create an empty pre-commit configuration file if missing.
35- --without-precommit Skip adding pre-commit hook to pre-commit configuration file.
3635 -f, --force Reset config to default if already exists.
36+ --without_precommit Skip adding packit-specific pre-commit configuration
37+ hook.
38+ --force_precommit Create pre-commit configuration file if missing.
3739 -h, --help Show this message and exit.
You can’t perform that action at this time.
0 commit comments