Talk:How to create a patch
From MoodleDocs
About git patches, I'd recommend to use "git format-patch" when possible, as far as it keeps the original author, signed, commits (and commit messages), when applying it with "git am". For a given branch FIXBRANCH, with n commits fixing something in MOODLE_XX_STABLE you can always get all the commits easily by doing:
git format-patch [FIXBRANCH...]MOODLE_XX_STABLE
(with FIXBRANCH being optional if it's your current branch)
Eloy Lafuente (stronk7) 22:50, 8 November 2012 (WST)