1PACKIT INIT(1) packit init Manual PACKIT INIT(1)
2
3
4
6 packit-init - Initiate a repository to start using packit.
7
9 packit init [OPTIONS] [PATH_OR_URL]
10
12 Initiate a repository to start using packit.
13
14 If you specify --upstream-url, then a source-git repository is made,
15 otherwise only configuration file packit.yaml is created.
16
17 To learn more about source-git, please check
18 https://packit.dev/docs/source-git/
19
21 -f, --force
22 Reset config to default if already exists.
23
24 --upstream-url TEXT
25 URL or local path to the upstream project; defaults to current
26 git repository
27
28 --upstream-ref TEXT
29 Use this upstream git ref as a base for your source-git repo;
30 defaults to current tip of the git repository
31
32 --fedora-package TEXT
33 Pick spec file from this Fedora Linux package; implies creating
34 a source-git repo
35
36 --centos-package TEXT
37 Pick spec file from this CentOS Linux or CentOS Stream package;
38 implies creating a source-git repo
39
40 --dist-git-branch TEXT
41 Get spec file from this downstream branch, for Fedora this
42 defaults to main, for CentOS it's c8s. When --dist-git-path is
43 set, the default is the branch which is already checked out.
44
45 --dist-git-path TEXT
46 Path to the dist-git repo to use. If this is defined, --fedora-
47 package and --centos-package are ignored.
48
49
50
51 2021-03-18 PACKIT INIT(1)