From: Włodzimierz Gajda Date: Wed, 26 Aug 2015 15:10:56 +0000 (+0200) Subject: Example how to create a shallow clone with just one commit X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dc1f92fe2b4e3dd9a54f3e45e1ae052b9f8e921e;p=puppet-vcsrepo.git Example how to create a shallow clone with just one commit --- diff --git a/examples/git/shallow-clone-with-just-one-commit.pp b/examples/git/shallow-clone-with-just-one-commit.pp new file mode 100644 index 0000000..cd5a05d --- /dev/null +++ b/examples/git/shallow-clone-with-just-one-commit.pp @@ -0,0 +1,7 @@ +vcsrepo { '/tmp/git': + ensure => 'present', + provider => 'git', + source => 'https://github.com/git/git.git', + branch => 'v2.2.0', + depth => 1, +}