git-diff: create a patch file
This commit is contained in:
parent
aa18a00718
commit
6bdd183e86
|
|
@ -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}}`
|
||||
|
|
|
|||
Loading…
Reference in New Issue