Development Team/Code Review: Difference between revisions
No edit summary |
No edit summary |
||
| Line 29: | Line 29: | ||
Or if the commit you want the diff of was the most-recent commit, you can do: | Or if the commit you want the diff of was the most-recent commit, you can do: | ||
git diff HEAD^ | git diff HEAD^ | ||
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: | ||