This shows you the differences between two versions of the page.
|
devel:git:start [2011/12/10 20:39] Stevee created |
devel:git:start [2012/07/22 13:28] (current) stevee |
||
|---|---|---|---|
| Line 133: | Line 133: | ||
| git format-patch origin master --stdout > patchfile.patch | git format-patch origin master --stdout > patchfile.patch | ||
| + | |||
| + | To create a patchfile from a commit use: | ||
| + | |||
| + | git format-patch -1 <sha> - where <sha> is the id from the commit | ||
| ==== Apply a patchfile ==== | ==== Apply a patchfile ==== | ||