Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apply SVN patch in reverse or undo patch

Tags:

svn

I modified some files with svn patch <my-patch-file>. How do I reverse this patch without reverting other changes in these files?

like image 550
Elliott Beach Avatar asked Jun 23 '26 17:06

Elliott Beach


1 Answers

Run svn patch --reverse-diff <my-patch-file>. Source

like image 80
Elliott Beach Avatar answered Jun 26 '26 23:06

Elliott Beach



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!