mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 21:17:57 +01:00
pkgctl-repo: add page (#10598)
This commit is contained in:
parent
c3b25d9516
commit
03711dd140
1 changed files with 25 additions and 0 deletions
25
pages/linux/pkgctl-repo.md
Normal file
25
pages/linux/pkgctl-repo.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# pkgctl repo
|
||||
|
||||
> Manage Git packaging repositories and their configuration for Arch Linux.
|
||||
> See also: `pkgctl`.
|
||||
> More information: <https://man.archlinux.org/man/pkgctl-repo.1>.
|
||||
|
||||
- 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}}`
|
||||
|
||||
- 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}}`
|
Loading…
Reference in a new issue