DOKK / manpages / debian 12 / cdist / cdist-type__git.7.en
CDIST-TYPE__GIT(7) cdist CDIST-TYPE__GIT(7)

cdist-type__git - Get and or keep git repositories up-to-date

This cdist type allows you to clone git repositories

Specifies the git remote to clone from

Either "present" or "absent", defaults to "present"
Create this branch by checking out the remote branch of this name Default branch is "master"
Group to chgrp to.
Unix permissions, suitable for chmod.
User to chown to.
Passes the --recurse-submodules flag to git when cloning the repository.
Sets --depth=1 and --shallow-submodules for cloning repositories with big history.

__git /home/services/dokuwiki --source git://github.com/splitbrain/dokuwiki.git
# Checkout cdist, stay on branch 2.1
__git /home/nico/cdist --source git@code.ungleich.ch:ungleich-public/cdist.git --branch 2.1


Nico Schottelius <nico-cdist--@--schottelius.org>

Copyright (C) 2012 Nico Schottelius. You can redistribute it 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 License, or (at your option) any later version.

ungleich GmbH 2021

January 15, 2023 7.0.0