adds cloning example to README

parent cdb3bc28
......@@ -10,6 +10,14 @@ Do the same with `modules/trigger-versioning.xqm` and modules `config.xqm`.
`test-git-push.xql` is an example file generating entries for getting a collection automatically triggered to git pushes.
## Example
For cloning a remote repository call a XQuery function like:
```xquery
git:clone( $config:source-url, $config:branch, $config:file-repo-root )
```
## Build
Building a XAR package with ant:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment