# get_path_pull

Clone a repository, reset, pull latest, and return its path.

```rhai
tree.get_path_pull(url: &str) -> String
```

## Examples

```rhai
let tree = git_tree_new("/tmp/repos");
let path = tree.get_path_pull("https://github.com/user/project.git");
print(`Updated repo at: ${path}`);
```

```rhai
let tree = git_tree_new("/opt/deploy");
let app = tree.get_path_pull("https://github.com/org/app.git");
chdir(app);
run("./deploy.sh");
```
