I have an external process that applies changes to files part of a local Git repository initially cloned through libgit2sharp. I would like to perform - through libgit2sharp - the equivalent of the command git add *
, followed by git commit -m "Hello World"
. The documentation of the Repository
class is thin on this.
How can it be done?
In 2020 the code structure has been changed. Now its like==>
Commands.Stage(repo, "*");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With