git diff --no-prefix > [path file name]
patch -p0 < [path file name]
Where do you put it and what it does
or even more easier
git apply patch.diff
@teamus2012
https://medium.com/odds-team/create-a-patch-file-from-git-diff-c746be60d1e
Thanks, great post explains what p1
means.
patch -p1 < patch.diff
worked for me !Thank you @crzdeveloper