You do everything you can NOT to use diff and patch but if you really want to know...
http://jungels.net/articles/diff-patch-ten-minutes.html
Installing and upgrading help
Moodle Upgrade 2.3 to 2.3.1 Disaster
This discussion has been locked so you can no longer reply to it.