mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 10:32:11 +03:00
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
Block a user