Produce a diff compatible with patch command

suggest change

Sometimes you just need a diff to apply using patch. The regular git --diff does not work. Try this instead:

git diff --no-prefix > some_file.patch

Then somewhere else you can reverse it:

patch -p0 < some_file.patch

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents