git2-rs
git2-rs copied to clipboard
How do you reset changed files and delete the untracked ones to bring repo to a clean state?
In case the repo state is not clean as in we have some changed files, some deleted, some new ones, etc. How do I remove all new untracked files and reset the changed ones to bring the repo state to clean?