From 03711dd140e80d09e4902467c36a5fd93b64b2a0 Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Mon, 14 Aug 2023 15:39:53 +0530 Subject: [PATCH] pkgctl-repo: add page (#10598) --- pages/linux/pkgctl-repo.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/linux/pkgctl-repo.md diff --git a/pages/linux/pkgctl-repo.md b/pages/linux/pkgctl-repo.md new file mode 100644 index 000000000..8582140f1 --- /dev/null +++ b/pages/linux/pkgctl-repo.md @@ -0,0 +1,25 @@ +# pkgctl repo + +> Manage Git packaging repositories and their configuration for Arch Linux. +> See also: `pkgctl`. +> More information: . + +- 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}}`