Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.31 KB

File metadata and controls

25 lines (17 loc) · 1.31 KB

Link

The link command has the following command line syntax:
pit link <PACKAGE-NAME> [--force | -f] [--overwrite]

Basic link

The link command links a package, using the following syntax:
pit link <PACKAGE-NAME>

The link command symlinks the specified package. To learn more about Packit symlinks, take a look at symlinks.

Examples

To link a package called foo, use:
pit link foo

Note that only a package name should be given.

Flags

This is a complete list of all flags that can be used with the pit link command.

--force

Some packages are not allowed to be symlinked (defined in the metadata). In such a case, the --force flag, or -f for short, is required to force the symlinking of the package. Please be careful with using the --force flag, since there is most likely a good reason that the package is not allowed to be symlinked.

--overwrite

Some packages conflict with each other. This should be defined in the metadata. In this case it's not possible for both packages to be symlinked at the same time. The --overwrite flag can be used to overwrite existing symlinks from another conflicting package. Please note that this should normally not be used, as conflicts between packages should be avoided.