mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 06:51:59 +00:00
Update cheatsheets
This commit is contained in:
30
linux/pkgctl-repo
Normal file
30
linux/pkgctl-repo
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user