libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

Is there a way to apply a patch file into a repository by using this lib?

Open yukozh opened this issue 1 year ago • 1 comments

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?

yukozh avatar Jul 18 '24 12:07 yukozh

I also want to know this, as I need a way to apply patches to a downloaded directory

retroandchill avatar May 11 '25 16:05 retroandchill