Verified Commit bee10f8b authored by Thomas Friese's avatar Thomas Friese
Browse files

adds cloning example to README

parent cdb3bc28
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -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.
`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
## Build


Building a XAR package with ant:
Building a XAR package with ant: