Sunday, 6 September 2020

Perform a `git clean` in a repository using NodeGit

I have a NodeGit repository, repo. This repository has some local changes, both in tracked and untracked files & directories. How can I clean this repository, with the same effect as the git clean -f -d command, so that afterwards the local changes are no longer there?

Thanks for the help.



from Perform a `git clean` in a repository using NodeGit

No comments:

Post a Comment