# reset

Reset any local changes in the repository.

```rhai
repo.reset() -> GitRepo
```

## Examples

```rhai
let repo = git_clone("https://github.com/user/project.git");
repo.reset()?;
print("Reset local changes");
```

```rhai
let repo = git_clone("https://github.com/org/app.git");
repo.reset()?.pull()?;
print("Clean state with latest changes");
```
