libgit2sharp
libgit2sharp copied to clipboard
Is there a way to apply a patch file into a repository by using this lib?
Now I have a patch file like:
+++ xxx.cs
--- xxx.cs
@@ x,x x,x @@
+ xxxx
- xxxx
- xxxx
xxxx
I want to use libgit2sharp to apply this patch file to a repository. How to do this?
I also want to know this, as I need a way to apply patches to a downloaded directory