git-diff: create a patch file

waldyrious/alt-syntax
Frank 2016-06-17 13:08:01 +02:00 committed by GitHub
parent aa18a00718
commit 6bdd183e86
1 changed files with 4 additions and 0 deletions

View File

@ -17,3 +17,7 @@
- Show staged (added, but not yet committed) changes only:
`git diff --staged`
- Create a patch file:
`git diff > {{target-file.patch}}`