Tech Blog :: Git: syntax for generating a generic patch


Oct 3 '10 12:48am
Tags

Git: syntax for generating a generic patch

In the base directory of the project:

git diff --no-prefix --relative --cc -u -- . > fixed-big-bug.patch

(It still has diff --git at the top, not sure how to get rid of that.)

Post new comment

Don't bother putting in spam links. They'll be set to rel=nofollow and will be removed and reported as spam shortly after submitting.

The content of this field is kept private and will not be shown publicly.
CAPTCHA
Are you human?