Development Team/Code Review: Difference between revisions
No edit summary |
No edit summary |
||
| Line 32: | Line 32: | ||
Another alternative that will give you a patch in a file called 0001-My-cool-patch.patch: | Another alternative that will give you a patch in a file called 0001-My-cool-patch.patch: | ||
git | git add new_file1 new_file2 | ||
git | git commit -a -m 'My cool patch' | ||
git | git format-patch HEAD^ | ||
git | git reset --hard HEAD^ | ||
== Patch submission == | == Patch submission == | ||
| Line 70: | Line 70: | ||
Generate a patch set using git. The following command will create one file per commit in the current directory. | Generate a patch set using git. The following command will create one file per commit in the current directory. | ||
git | git format-patch origin | ||
Make sure that the ticket number is referenced in the commit description! | Make sure that the ticket number is referenced in the commit description! | ||