summaryrefslogtreecommitdiff
path: root/doc/man/pkgctl-repo-switch.1.asciidoc
blob: ac1201962a7e06632938c92587ebcdd5cd065317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
pkgctl-repo-switch(1)
=====================

Name
----
pkgctl-repo-switch - Switch a package repository to a specified version

Synopsis
--------
pkgctl repo switch [OPTIONS] [VERSION] [PKGBASE]...

Description
-----------

Switch a package source repository to a specified version, tag or branch.
The working tree and the index are updated to match the specified ref.

If a version identifier is specified in the pacman version format, that
identifier is automatically translated to the Git tag name accordingly.

The current working directory is used if no PKGBASE is specified.

Options
-------

*--discard-changes*::
	Proceed even if the index or the working tree differs from HEAD. Both the
	index and working tree are restored to match the switching target.

*-f, --force*::
	An alias for '--discard-changes'.

*-h, --help*::
	Show a help text

include::include/footer.asciidoc[]