CDIST-TYPE__GIT(7)
β¨ cdist-type__git β¨
okay bestie, gather round, because this is the cdist-type__git manual page and it's literally about keeping your git repos cloned and up-to-date. no cap. it's giving "your infra, but make it version-controlled" π
πΈ NAME πΈ
cdist-type__git β Get and or keep git repositories up-to-date π¦
π DESCRIPTION π
so basically this cdist type lets you clone git repositories. that's the whole vibe. you point it at a remote, it does the thing. iconic behavior honestly π
π REQUIRED PARAMETERS π
like, you have to give it these, it's not optional, it's the main character:
sourceβ specifies the git remote to clone from. yes queen, tell it where the repo lives π₯
β¨ OPTIONAL PARAMETERS β¨
these are the lil extras you can sprinkle in if you want, no pressure bestie:
stateβ either"present"or"absent", and it defaults to"present"πbranchβ create this branch by checking out the remote branch of this name. the default branch is"master"πΏgroupβ group to chgrp to. π«Άmodeβ Unix permissions, suitable for chmod. πownerβ user to chown to. π€recursiveβ passes the--recurse-submodulesflag to git when cloning the repository. submodules get the submodule treatment, fr fr π§shallowβ sets--depth=1and--shallow-submodulesfor cloning repositories with big history. perfect for when the history is doing the absolute most and you simply cannot π
π EXAMPLES π
here's how it actually looks in the wild, copy-paste ready:
__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
see? easy. ate that π
π AUTHORS π
- Nico Schottelius
<nico-cdist--@--schottelius.org>β¨
π COPYING π
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. π (yes bestie, that's the whole license paragraph, we keep it exactly as it is, no edits, periodt)
π¦ COPYRIGHT π¦
ungleich GmbH 2021 β
and that's the tea, bestie π«Ά this page came from version 7.0.0, dated Jul 31, 2022 β go forth and clone responsibly π
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms