[__git] Improve manpage regarding tags usage.

This commit is contained in:
evilham 2020-06-18 00:29:34 +02:00
parent 8f91e4aedc
commit 852ac22b13

View file

@ -3,12 +3,13 @@ cdist-type__git(7)
NAME NAME
---- ----
cdist-type__git - Get and or keep git repositories up-to-date cdist-type__git - Get and keep git repositories up-to-date
DESCRIPTION DESCRIPTION
----------- -----------
This cdist type allows you to clone git repositories This cdist type allows you to clone git repositories, track specific branches
or tags and keep up to date at your own pace.
REQUIRED PARAMETERS REQUIRED PARAMETERS
@ -23,7 +24,7 @@ state
Either "present" or "absent", defaults to "present" Either "present" or "absent", defaults to "present"
branch branch
Create this branch by checking out the remote branch of this name Check out this branch or tag to the target directory.
Default branch is "master" Default branch is "master"
group group
@ -60,15 +61,21 @@ EXAMPLES
# Checkout cdist, stay on branch 2.1 # Checkout cdist, stay on branch 2.1
__git /home/nico/cdist --source git@code.ungleich.ch:ungleich-public/cdist.git --branch 2.1 __git /home/nico/cdist --source git@code.ungleich.ch:ungleich-public/cdist.git --branch 2.1
# If at a later stage you decide to keep up with the development version,
# cdist will change the branch and keep you up to date with:
__git /home/nico/cdist --source git@code.ungleich.ch:ungleich-public/cdist.git --branch master
AUTHORS AUTHORS
------- -------
Nico Schottelius <nico-cdist--@--schottelius.org> Nico Schottelius <nico-cdist--@--schottelius.org>
Evilham <cvs--@--evilham.com>
COPYING COPYING
------- -------
Copyright \(C) 2012 Nico Schottelius. You can redistribute it Copyright \(C) 2012 Nico Schottelius. 2020 Evilham.
You can redistribute it
and/or modify it under the terms of the GNU General Public License as and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version. License, or (at your option) any later version.