1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/pkgctl-repo.md

26 lines
709 B
Markdown
Raw Normal View History

2023-08-14 15:39:53 +05:30
# pkgctl repo
> Manage Git packaging repositories and their configuration for Arch Linux.
> See also: `pkgctl`.
> More information: <https://manned.org/pkgctl-repo.1>.
2023-08-14 15:39:53 +05:30
- Clone a package repository (requires setting an SSH key in your Arch Linux GitLab account):
`pkgctl repo clone {{pkgname}}`
- Clone a package repository over HTTPS:
`pkgctl repo clone --protocol https {{pkgname}}`
2023-08-14 15:39:53 +05:30
- Create a new GitLab package repository and clone it after creation (requires valid GitLab API authentication):
`pkgctl repo create {{pkgbase}}`
- Switch a package repository to a specified version:
`pkgctl repo switch {{version}} {{pkgbase}}`
- Open a package repository's website:
`pkgctl repo web {{pkgbase}}`