mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 21:24:54 +02:00
Merge pull request #914 from solygen/master
git-diff: create a patch file
This commit is contained in:
commit
fccdfa16d4
1 changed files with 4 additions and 0 deletions
|
@ -17,3 +17,7 @@
|
||||||
- Show staged (added, but not yet committed) changes only:
|
- Show staged (added, but not yet committed) changes only:
|
||||||
|
|
||||||
`git diff --staged`
|
`git diff --staged`
|
||||||
|
|
||||||
|
- Create a patch file:
|
||||||
|
|
||||||
|
`git diff > {{target-file.patch}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue