From a42116b0968cc2f7fe1714564c969ad4674f4f69 Mon Sep 17 00:00:00 2001 From: Bruce Williams Date: Sat, 13 Mar 2010 00:00:11 -0800 Subject: Convert bare repos to working copy repos and vice-versa --- README.GIT.markdown | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 README.GIT.markdown (limited to 'README.GIT.markdown') diff --git a/README.GIT.markdown b/README.GIT.markdown new file mode 100644 index 0000000..08545aa --- /dev/null +++ b/README.GIT.markdown @@ -0,0 +1,20 @@ +Using vcsrepo with Git +====================== + +To create a blank repository +---------------------------- + +Define a `vcsrepo` without a `source` or `revision`: + + vcsrepo { "/path/to/repo": + ensure: present + } + +If you're defining this for a central/"official" repository, you'll +probably want to make it a "bare" repository. Do this by setting +`ensure` to `bare` instead of `present`: + + vcsrepo { "/path/to/repo": + ensure: bare + } + -- cgit v1.2.3