diff --git a/docs/cli/dist-git/init.md b/docs/cli/dist-git/init.md index a5c96c46a4..6ae06d31b8 100644 --- a/docs/cli/dist-git/init.md +++ b/docs/cli/dist-git/init.md @@ -25,9 +25,7 @@ Create a Packit's dist-git configuration for release syncing to Fedora. By default, all 3 jobs (`pull_from_upstream`, `koji_build`, `bodhi_update`) for release syncing are configured. You can use --no-pull, --no-koji-build - or --no-bodhi-update options to not add some of the jobs (at the moment, - Bodhi updates are created only for Koji builds built by Packit, therefore - --no-koji-build implies also no Bodhi update job). + or --no-bodhi-update options to not add some of the jobs. You can either create the Packit config file only locally (default), or create a pull request (using --create-pr option) or push directly to the @@ -38,14 +36,23 @@ Create a Packit's dist-git configuration for release syncing to Fedora. Examples - Local generation for dist-git repo in current working directory: + Local Packit configuration generation for a dist-git repo in the current + working directory: + + + + $ packit dist-git init + + Local Packit configuration generation for a dist-git repo in the current + working directory configuring git URL for cloning of the upstream + repository: $ packit dist-git init --upstream-git-url https://github.com/packit/packit . - Local generation for dist-git repo specified by URL that will be cloned to - `` dir: + Local Packit configuration generation for a dist-git repo specified by URL + that will be cloned to `` dir: - $ packit dist-git init --upstream-git-url https://github.com/packit/packit --clone-path + $ packit dist-git init --clone-path `` https://src.fedoraproject.org/rpms/packit Using arbitrary configuration options that are not provided as the command