# clone_repo_full

Clone a repository with all options: branch, subpath, reset, pull.

```rhai
tree.clone_repo_full(url: &str, branch: &str, subpath: &str, reset: bool, pull: bool) -> String
```

## Examples

```rhai
let tree = git_tree_new("/tmp/repos");
let docs = tree.clone_repo_full(
    "https://github.com/user/project.git",
    "main",
    "docs",
    true,
    true
);
print(`Docs at: ${docs}`);
```

```rhai
let tree = git_tree_new("/tmp/repos");
let src = tree.clone_repo_full("https://github.com/org/app.git", "develop", "src", true, true);
```
