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-add new_file1 new_file2
  git add new_file1 new_file2
  git-commit -a -m 'My cool patch'
  git commit -a -m 'My cool patch'
  git-format-patch HEAD^
  git format-patch HEAD^
  git-reset --hard HEAD^
  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-format-patch origin
  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!