summaryrefslogtreecommitdiff
path: root/README.GIT.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'README.GIT.markdown')
-rw-r--r--README.GIT.markdown20
1 files changed, 20 insertions, 0 deletions
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
+ }
+