logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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.

Description

This cdist type allows you to clone git repositories

Examples

__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

Name

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

Optional Parameters

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

Required Parameters

source Specifies the git remote to clone from

See Also