How do I create a git component patch from svn version containing binary file changes?
I want to apply diff from SVN version to some directory. But this diff contains changes in binaries (.png images). I am trying to use git -apply, for example:
svn diff --force --git -r 1:2 <remote url> | git apply --binary -p4 -
But I am getting an error expected /dev/null on line 5
.
What is the correct way to achieve my goal?
+3
source to share
2 answers